{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"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":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"DM4","name":"Rich vs anemic domain model","shortDescription":{"text":"Rich vs anemic domain model"},"helpUri":"https://codehealth.canine.dev/dimensions/DM4"},{"id":"DM5","name":"Encapsulated state","shortDescription":{"text":"Encapsulated state"},"helpUri":"https://codehealth.canine.dev/dimensions/DM5"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"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":"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":"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":"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":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"recsys_batch.from_record_batch (cyclomatic 120): recsys_batch.from_record_batch has cyclomatic complexity 120 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c420fd10bc46fba7472c200dae0118058306b55f481b6d587b314c388c92c74"}},{"ruleId":"D1","level":"warning","message":{"text":"batch_prefetcher.prefetcher_loop (cyclomatic 110): batch_prefetcher.prefetcher_loop has cyclomatic complexity 110 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edadea14c8e1de5c7afd49690bfc9a45b47c3cf996efc1552b06f24d9627147"}},{"ruleId":"D1","level":"warning","message":{"text":"RankingBatchPrep::compute_batch_inputs_rust_quick (cyclomatic 103): RankingBatchPrep::compute_batch_inputs_rust_quick has cyclomatic complexity 103 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63be23d1f4f0c2784c5dfd34ec717cd1bcf7b8122fa5673125ef742cbe664cc"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationValue::read_from_in_protocol (cyclomatic 100): AnnotationValue::read_from_in_protocol has cyclomatic complexity 100 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":4926}}}],"partialFingerprints":{"codehealthFindingId/v1":"c331bc53db2647a23be713688d1cbf4a475afa67d0e35fe9fc7af01636414176"}},{"ruleId":"D1","level":"warning","message":{"text":"row_embedding_restore._prepare (cyclomatic 94): row_embedding_restore._prepare has cyclomatic complexity 94 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/row_embedding_restore.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c464ca0f7cda9c5e0a67e9e3c3b859920ed32844c5824b636219f4b8821107"}},{"ruleId":"D1","level":"warning","message":{"text":"Event::read_from_in_protocol (cyclomatic 87): Event::read_from_in_protocol has cyclomatic complexity 87 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":4137}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd1b629c94e0709edbfe97d5c366c97d4751cf5cdee17c296da141ad1f432b6"}},{"ruleId":"D1","level":"warning","message":{"text":"Account::write_to_out_protocol (cyclomatic 69): Account::write_to_out_protocol has cyclomatic complexity 69 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Account::read_from_in_protocol (cyclomatic 71) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":6480}}}],"partialFingerprints":{"codehealthFindingId/v1":"018b6b652a5cca3d5fe39e3a4b722b4b37edcc11a537d52799ba68444e1a6224"}},{"ruleId":"D1","level":"warning","message":{"text":"score_results_sink_focal._decide_hard_enforcement (cyclomatic 65): score_results_sink_focal._decide_hard_enforcement has cyclomatic complexity 65 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"c457a00fb1b7679132a2e537f86352ba82090d8786c042c74ec2ae6ac53f2a5b"}},{"ruleId":"D1","level":"warning","message":{"text":"InterleavingRecordBatchProvider.__init__ (cyclomatic 64): InterleavingRecordBatchProvider.__init__ has cyclomatic complexity 64 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"9541c9146761710a4832fa9f28220d8e0382d02ca63a0a27e44190be1932a52e"}},{"ruleId":"D1","level":"warning","message":{"text":"FlashAttentionForwardSm100.correction_loop (cyclomatic 63): FlashAttentionForwardSm100.correction_loop has cyclomatic complexity 63 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cb3e3644a60395d37b8d21286d69769f4b7f27082341eec3a268f3d66bd362"}},{"ruleId":"D1","level":"warning","message":{"text":"recsys_bundle_export.build_bundle (cyclomatic 63): recsys_bundle_export.build_bundle has cyclomatic complexity 63 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/recsys_bundle_export.py"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"c286637276df2f79d868839689ef771d861b42377f1d1c7736509d5a45dfacb2"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationValue::write_to_out_protocol (cyclomatic 62): AnnotationValue::write_to_out_protocol has cyclomatic complexity 62 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This is NOT this file\u0027s highest cyclomatic complexity: Account::read_from_in_protocol (cyclomatic 71) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":5387}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e044ea7077b8efb0fa8adb023a9077be07509e455c1ba60808c65912f18ae42"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::run_enforcement_inner (cyclomatic 61): crate::abuse-enforcement-service::service-lib::src::run_enforcement_inner has cyclomatic complexity 61 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"94eed31f4db94dc288747f3a10d28655594b65cdc6e7130d9c2d93ead827ef10"}},{"ruleId":"D1","level":"warning","message":{"text":"xai_recsys_engine::proto_parser::parse (cyclomatic 61): xai_recsys_engine::proto_parser::parse has cyclomatic complexity 61 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/proto_parser.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f86f7715e362c134d777ec478a8ea38d20ae79a777acb2d5d3eea480c32b88"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysAggregatedModel.build_inputs (cyclomatic 61): RecsysAggregatedModel.build_inputs has cyclomatic complexity 61 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":3987}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e1c1aad27acc7dc5dd947a48be353063bd1ecaf85fa14a25d02d11aea89646"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionControl::set_rows (cyclomatic 59): ActionControl::set_rows has cyclomatic complexity 59 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control/levels.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a82ecd4f9c8d30b9ee4a8fd0c5c20c634d9eb8cd0a6bbe385079afe1d40b3b"}},{"ruleId":"D1","level":"warning","message":{"text":"FlashAttentionForwardSm100.__call__ (cyclomatic 56): FlashAttentionForwardSm100.__call__ has cyclomatic complexity 56 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47daa7d8aab774debe12812fb6a2c7653d71fdc16d47df9d7d0f51886232d45"}},{"ruleId":"D1","level":"warning","message":{"text":"Safety::write_to_out_protocol (cyclomatic 55): Safety::write_to_out_protocol has cyclomatic complexity 55 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Account::read_from_in_protocol (cyclomatic 71) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":9353}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20c1a698bf174e0eb7ae75cc301649ac6b741f63926ed64ef65b3065147e009"}},{"ruleId":"D1","level":"warning","message":{"text":"Compiler.createASTNodeTree (cyclomatic 54): Compiler.createASTNodeTree has cyclomatic complexity 54 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c59b82ee1a51fd04d509337454eb724225caeb1374456879033361d50fe3922"}},{"ruleId":"D1","level":"warning","message":{"text":"Trainer.maybe_load_checkpoint (cyclomatic 54): Trainer.maybe_load_checkpoint has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d246eca5b9f51b48a9199e2d3ad0ad4752906ba09b4022e3390d577b1a5c50d0"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysTwoTowerEval.run (cyclomatic 53): RecsysTwoTowerEval.run has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/recsys_eval.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8d3b9c892de95c578058f5bd5e0f89d18d2f71ae02fad3287cb7e6e5933e02"}},{"ruleId":"D1","level":"warning","message":{"text":"RustKafkaDataset._async_kafka_consumer_arrow (cyclomatic 51): RustKafkaDataset._async_kafka_consumer_arrow has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/rust_kafka_recsys.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8a35ef80941a759cf4b4a1506ae36890dfdca7dda812950d80057d371d6e3b"}},{"ruleId":"D1","level":"warning","message":{"text":"FeaturesOfAuthCompletion.putLoginToMap (cyclomatic 49): FeaturesOfAuthCompletion.putLoginToMap has cyclomatic complexity 49 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1873d4c14a5e7c2c33b1fe0032735f3087567b7d9eec646b231e138b4c0078d"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysAggregatedModel.loss_inputs_and_normalizers (cyclomatic 49): RecsysAggregatedModel.loss_inputs_and_normalizers has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":4647}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8fc0f7c90ee357a9d4289bc5ae729365e0d4dbfc58296a943e86adfd7ee3c3"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysTrainer.create_executable (cyclomatic 48): RecsysTrainer.create_executable has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":2744}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d75b2b0e64c6a8b30a44440690e71c3782fff6c65b7a47d7cf7779065475e2"}},{"ruleId":"D1","level":"warning","message":{"text":"FlashAttentionForwardSm100.softmax_loop (cyclomatic 47): FlashAttentionForwardSm100.softmax_loop has cyclomatic complexity 47 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bf1e92fdb0644349176695d981bfa087c9b5cbae0663a1971461a70dd19e88"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseModelRunner.run (cyclomatic 46): BaseModelRunner.run has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3588}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1a34a8f9602d402d0a457873832d3014df853f91bc8526c7803cff46e3424d"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysAggregatedModel.loss (cyclomatic 46): RecsysAggregatedModel.loss has cyclomatic complexity 46 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":4913}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdc078673d1d5c8c0a22e40c371e1430f10befd726de6291d6efc1de55e72ae"}},{"ruleId":"D1","level":"warning","message":{"text":"PostRenderer.render (cyclomatic 45): PostRenderer.render has cyclomatic complexity 45 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/lm/post.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c34fffadedf98787645334861131c15409199f935cce65ed5f37f4e0460b618"}},{"ruleId":"D1","level":"warning","message":{"text":"abuse_score_accumulator::main (cyclomatic 44): abuse_score_accumulator::main has cyclomatic complexity 44 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee8467db9f1c76560a2fae2c66d6cee34518de41a88cfa4546d18dff461af4d"}},{"ruleId":"D1","level":"warning","message":{"text":"FlashAttentionForwardSm100.kernel (cyclomatic 44): FlashAttentionForwardSm100.kernel has cyclomatic complexity 44 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f95a5968bcfe967c84ae9fb26143ceb2d59842f54d7e29a19be6309525178e"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseModelRunner.handle_requests (cyclomatic 43): BaseModelRunner.handle_requests has cyclomatic complexity 43 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3238}}}],"partialFingerprints":{"codehealthFindingId/v1":"5838043c1e10a4a7349604541b9e8f10be755d16ea653c6e0fec213b5141cd2b"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionControl::validate (cyclomatic 42): ActionControl::validate has cyclomatic complexity 42 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"6182032cb16b34b10aba78d34a107981a321d59a864ed3df94e79ef4b66f0c29"}},{"ruleId":"D1","level":"warning","message":{"text":"User::write_to_out_protocol (cyclomatic 42): User::write_to_out_protocol has cyclomatic complexity 42 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Account::read_from_in_protocol (cyclomatic 71) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":14538}}}],"partialFingerprints":{"codehealthFindingId/v1":"7446365b65274e3d5cf74ca58a6be418bc751b7372c0fb328e332c1e991a653a"}},{"ruleId":"D1","level":"warning","message":{"text":"RetrievalBatchPrep::compute_batch_inputs_rust_quick (cyclomatic 42): RetrievalBatchPrep::compute_batch_inputs_rust_quick has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":2407}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b79ac34bb64f0bd2c7ba94ac2c2e3e49a428a330af5fd2de94a76c2c7702554"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysTrainer._save_checkpoint_current_params (cyclomatic 41): RecsysTrainer._save_checkpoint_current_params has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":3638}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abb6a51fc41f7f99afc6018f10e8f241b9a9385be8e151acf3e8371b42b37d2"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaLoader.hydrate_media (cyclomatic 40): MediaLoader.hydrate_media has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"409805dc5c5dab1a9430e027e46882082e06e422f525a071eb4a157dcc5e1758"}},{"ruleId":"D1","level":"warning","message":{"text":"FlashAttentionForwardSm100.__init__ (cyclomatic 39): FlashAttentionForwardSm100.__init__ has cyclomatic complexity 39 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"177761be932a7070e3378b022f372ecd5cfbd9ebd62319436698cb6c3c80eb33"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskPublishUnifiedPostAnnotationsManhattan._exec (cyclomatic 39): TaskPublishUnifiedPostAnnotationsManhattan._exec has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/task_write.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"135f748bc7894485f12ef9b02e0d435696e5f1c54e7bc823c42c8a1bc106b10f"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionControl::set_unlocked (cyclomatic 37): ActionControl::set_unlocked has cyclomatic complexity 37 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":2142}}}],"partialFingerprints":{"codehealthFindingId/v1":"202dcf1198c846abafd0953cd04884899db8913e3dd81b8d9dc1b54ea85ff5ab"}},{"ruleId":"D1","level":"warning","message":{"text":"KeyOrigin::spec (cyclomatic 37): KeyOrigin::spec has cyclomatic complexity 37 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/store/key_origin.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1bbc7048af37cb53e21edc2fe5ab8969fde06af8a3e6f20e25fa3c2f79907e"}},{"ruleId":"D1","level":"warning","message":{"text":"Compiler.botmakerFunctionToASTNode (cyclomatic 37): Compiler.botmakerFunctionToASTNode has cyclomatic complexity 37 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba960dad451a8a77c31ce73d252295c760ae589b0b46433594deb077f7f8cf5c"}},{"ruleId":"D1","level":"warning","message":{"text":"recsys_batch.apply_negative_sampling (cyclomatic 37): recsys_batch.apply_negative_sampling has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df5ec7917955ff654f68310a261ddc0a5cbfc8e73930fb9fc08f6bc1060e051"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysTrainer._finalize_checkpoint_load (cyclomatic 37): RecsysTrainer._finalize_checkpoint_load has cyclomatic complexity 37 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":3230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5566d25104c28b6d7eccb35c70bb2a142c8b943bd6a403dd4d82e10b81c9b2ee"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit2O11.createASTNode (cyclomatic 36): FunctionUnit2O11.createASTNode has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11271}}}],"partialFingerprints":{"codehealthFindingId/v1":"21edb9f7db2c62cc87c2b6cd2e7ce933425bcf4fc1ff3fc387ef2781062d0f06"}},{"ruleId":"D1","level":"warning","message":{"text":"HoldGateConfig::from_config (cyclomatic 35): HoldGateConfig::from_config has cyclomatic complexity 35 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"26652033df9639518d4abffdc3f0f351213987e4cf00e123ce5fa65e4554a71e"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::start_kafka_consumers (cyclomatic 35): crate::abuse-enforcement-service::service-lib::src::start_kafka_consumers has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":2973}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f82b7e579726bb4fce5863a4bf90472dcf4a1cf9865fb7a6c62acbd2b493c4"}},{"ruleId":"D1","level":"warning","message":{"text":"Sender::handle_send (cyclomatic 35): Sender::handle_send has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b82f4632638fe94d79b6138c6b9bb7e38daa31fb3b4baf4974d1b795579296d"}},{"ruleId":"D1","level":"warning","message":{"text":"xai_recsys_engine::storage_util::remove_old_from_storage_async (cyclomatic 35): xai_recsys_engine::storage_util::remove_old_from_storage_async has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcca3f76cbe8a88c0b29c2d0a0953e50431f915f931ce26ca7d6aaff8036224a"}},{"ruleId":"D1","level":"warning","message":{"text":"PhoenixDataset.compute_max_steps (cyclomatic 35): PhoenixDataset.compute_max_steps has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"5046a2ca0822678f56f1a2ac127db8779bd517356f6f46913d7fff3df5166d3b"}},{"ruleId":"D1","level":"warning","message":{"text":"history_id_lists._fill_rows (cyclomatic 35): history_id_lists._fill_rows has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/history_id_lists.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddceb65f749a03d09b6716d0ef7bc84ac84921149bcacb88d7c4026779791016"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskWriteSafetyPostAnnotationsResultSink._apply_labels_for_annotation (cyclomatic 35): TaskWriteSafetyPostAnnotationsResultSink._apply_labels_for_annotation has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a3de16f0062ade55c6fda9d53dc92e8a6a8d27038b610fe96cc96f49768111"}},{"ruleId":"D1","level":"warning","message":{"text":"xai_recsys_engine::emb_table::load_tensor_into (cyclomatic 34): xai_recsys_engine::emb_table::load_tensor_into has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd270c8cf88116314919eab27d7a8c1f252283762475c049f34e81d243654bd"}},{"ruleId":"D1","level":"warning","message":{"text":"PhoenixKafkaDataset.make (cyclomatic 34): PhoenixKafkaDataset.make has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea60ba799f8c7301d4661106db0c86a37a5fd3acb0deb4dc38871755539b199a"}},{"ruleId":"D1","level":"warning","message":{"text":"image.build_motion_reveal_images (cyclomatic 34): image.build_motion_reveal_images has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/image.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"b837aa75bcf9a33f86477ee0a5afdbf09f52aa71f385518469dff84acfd99821"}},{"ruleId":"D1","level":"warning","message":{"text":"FlashAttentionForwardSm100.load (cyclomatic 33): FlashAttentionForwardSm100.load has cyclomatic complexity 33 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b0cf8b2cf16bbbc5f05fa204af819eea3ac3b61d9e5a4a4b76284272a8515e"}},{"ruleId":"D1","level":"warning","message":{"text":"RustParquetDataset._record_batches (cyclomatic 33): RustParquetDataset._record_batches has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/rust_parquet_recsys.py"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"9380791d99eef1e7933401dccfe038f102dc0bf1bc0baf94572767c7b46e24b2"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseModelRunner._load_via_copy_port (cyclomatic 33): BaseModelRunner._load_via_copy_port has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24899e238d2ff322472b308002ed4a8c915a3472035eb74cf607ca8abb9bfc1"}},{"ruleId":"D1","level":"warning","message":{"text":"TweetTypeMetricsHydrator::create_tweet_type_bitset (cyclomatic 32): TweetTypeMetricsHydrator::create_tweet_type_bitset has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/tweet_type_metrics_hydrator.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4c43f5862090585ebae19aa10beee3e6f94412cc1cb90d7f0b9606e4391cdc"}},{"ruleId":"D1","level":"warning","message":{"text":"kafkaconsumer._consumer_poll_loop (cyclomatic 32): kafkaconsumer._consumer_poll_loop has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"371d8eb0a49680be8b9211926e752b5bd91209c193f6b62fa2be165ec0194b25"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseModelRunner._finalize_hot_swap (cyclomatic 32): BaseModelRunner._finalize_hot_swap has cyclomatic complexity 32 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee4593cf2e3dc741729991d4a5fea6133665c8e7ced40bcb2d891167db61225"}},{"ruleId":"D1","level":"warning","message":{"text":"InputBuffer::compute_from_columnar_bytes (cyclomatic 31): InputBuffer::compute_from_columnar_bytes has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2fe3d428da6859214ecafa2f2b2a40418cd7478693c04ef3e4489ae67a4c76"}},{"ruleId":"D1","level":"warning","message":{"text":"FeaturesOfRtpCaseUpdateEvent.apply (cyclomatic 31): FeaturesOfRtpCaseUpdateEvent.apply has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfRtpCaseUpdateEvent.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedf758d41f7b00117c28dac2de356fd0784bba24842a2ee95b0bc0df33865cb"}},{"ruleId":"D1","level":"warning","message":{"text":"rust_parquet_recsys._block_shuffle_record_batches (cyclomatic 31): rust_parquet_recsys._block_shuffle_record_batches has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/rust_parquet_recsys.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e283e64e1877d3559f9235792f5f229816799c7fbfd1c7ef795d1c78abbe71fe"}},{"ruleId":"D1","level":"warning","message":{"text":"xai_configlib.cast_type (cyclomatic 31): xai_configlib.cast_type has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/common/xai-configlib/src/xai_configlib/__init__.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af6b8339c0f830931c9ebd2933bc37de3a9d20bf453fbc13cd11872e68a8640"}},{"ruleId":"D1","level":"warning","message":{"text":"Backfill::change (cyclomatic 30): Backfill::change has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"f259c56c92328262f6c3aabc01ac4dbe3d6d0e9c515649ada8ed5f65e9745b19"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::home-mixer::ads::multi_risk_blender::blend_with_drops (cyclomatic 30): crate::home-mixer::ads::multi_risk_blender::blend_with_drops has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/multi_risk_blender.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"39edf32f3a368ea4f29f0ae315d4d5f606998487573a5b7906bcfe917a5b3d7e"}},{"ruleId":"D1","level":"warning","message":{"text":"xai_recsys_engine::copy_port_client::download_embedding_table_progressive (cyclomatic 30): xai_recsys_engine::copy_port_client::download_embedding_table_progressive has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3193e3dd9ed70c9501504bbd91f9352d0cec85a30864b59c84c7476dd2826715"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit2O9.createASTNode (cyclomatic 30): FunctionUnit2O9.createASTNode has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9263}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be1d461a6028cea52a58df1a59c5d19c755f2a9890b791dd325461b05f0288d"}},{"ruleId":"D1","level":"warning","message":{"text":"FeaturesOfAuthCompletion.putPasswordResetToMap (cyclomatic 30): FeaturesOfAuthCompletion.putPasswordResetToMap has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"df86f2b5e8c84b2e8becdbd92e8385b5a5bc4e8933674d13bba22c286d682f56"}},{"ruleId":"D1","level":"warning","message":{"text":"FeaturesOfEventBusFanoutEvent.apply (cyclomatic 30): FeaturesOfEventBusFanoutEvent.apply has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfEventBusFanoutEvent.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b367861a99c427f2c21431c697999f87af8717c0dbaed612bff519c0ac7780"}},{"ruleId":"D1","level":"warning","message":{"text":"score_results_sink_focal.main (cyclomatic 30): score_results_sink_focal.main has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"4113962768c4e3d00db5ab96fc924e113de4192357e925b23ce842ce476dee1a"}},{"ruleId":"D1","level":"warning","message":{"text":"RetrievalDataset.load_corpus (cyclomatic 30): RetrievalDataset.load_corpus has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/retrieval_dataset.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dea95b77d2fd2ff7558bd72c686422d799a572610473103fd0f9d396a86625"}},{"ruleId":"D1","level":"warning","message":{"text":"Transformer.__call__ (cyclomatic 30): Transformer.__call__ has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/transformer.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"f090b51d20047466328dbb25098f88782bf7fa22cb4fc3eb7e8173412a60c331"}},{"ruleId":"D1","level":"warning","message":{"text":"recsys_bundle_export._retrieval_export (cyclomatic 30): recsys_bundle_export._retrieval_export has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/recsys_bundle_export.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"90521616f1f8132b1165a874789185193e2882c2bdd1ece24f180733f1306877"}},{"ruleId":"D1","level":"warning","message":{"text":"PhoenixKafkaDataset.kafka_to_training_batch (cyclomatic 29): PhoenixKafkaDataset.kafka_to_training_batch has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"674e737c8179b6e070b2eceb579e16fa26f7c49b03df31d716e8bf3237dfb135"}},{"ruleId":"D1","level":"warning","message":{"text":"checkpoint_storage.load_checkpoint_from_storage (cyclomatic 29): checkpoint_storage.load_checkpoint_from_storage has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/checkpoint_storage.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"331eed63c75907e56cc5f42b8bdcea90cb72b10a955a1d6056f56f565a25cd8f"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseModelRunner._init_hotswap_buffers (cyclomatic 29): BaseModelRunner._init_hotswap_buffers has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06fcc4afa789967dee2b7f1b8c07b7aff4642c2dc027d78d33e4ca2533cfc17"}},{"ruleId":"D1","level":"warning","message":{"text":"recsys_feature_prep._add_history_features (cyclomatic 29): recsys_feature_prep._add_history_features has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_feature_prep.py"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbca418d288f6248f783aeaa4f19ae4623b9ebfc81c896e370c5797db8e7eeb"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysAggregatedModelConfig.validate_purchase_value (cyclomatic 29): RecsysAggregatedModelConfig.validate_purchase_value has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a511335a5fce46d737bfc80fc8de5a50240b37356f160ceb6b490a576a759fe4"}},{"ruleId":"D1","level":"warning","message":{"text":"V82EmbedPostRenderer._author_block (cyclomatic 29): V82EmbedPostRenderer._author_block has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e577cba02922cb5d653e44109f3f36061675611e5cda9fa8725e095d96747807"}},{"ruleId":"D1","level":"warning","message":{"text":"V8SearchEmbedPostRenderer._author_block (cyclomatic 29): V8SearchEmbedPostRenderer._author_block has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v8_search.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df59f0fc83ffe1bbf59a8e07277164f533ec98641dc0dc0000bed3699b2c60f"}},{"ruleId":"D1","level":"warning","message":{"text":"xai_recsys_engine::emb_table::maybe_load_fully_replicated_tensors (cyclomatic 28): xai_recsys_engine::emb_table::maybe_load_fully_replicated_tensors has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"79128df7e6d6ba3cd1be055c7e4097117f68856138435d25f843541a09221de3"}},{"ruleId":"D1","level":"warning","message":{"text":"ranker_attention_varlen_fa4._build_packed_block_sparse (cyclomatic 28): ranker_attention_varlen_fa4._build_packed_block_sparse has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd9e39a66990bd4140c3630f3698bf4a92d2addc2a8a8272c570b5d23acd17e"}},{"ruleId":"D1","level":"warning","message":{"text":"PhoenixKafkaDataset._iterate_training_batches (cyclomatic 28): PhoenixKafkaDataset._iterate_training_batches has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"b199a9143a334159c05db54bc7748423096795c382cb1389cf90b242e64af9b9"}},{"ruleId":"D1","level":"warning","message":{"text":"kafkaloader._unify_record_batch_schemas (cyclomatic 28): kafkaloader._unify_record_batch_schemas has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"5980f2f6531ae7c6a1e8626f27d37c087954029a8f99a8aed94f585aff7c8b76"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysAggregatedModel.metrics (cyclomatic 28): RecsysAggregatedModel.metrics has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":5546}}}],"partialFingerprints":{"codehealthFindingId/v1":"4056c14091ee7dbbd2a084af2955751ffd1cba7344b15ebdced4e6b436917aad"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysTwoTowerModel.forward (cyclomatic 28): RecsysTwoTowerModel.forward has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_two_tower_model.py"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a37828d20fe5d0d312619e54b9d4e5e7179a99ea2201046a81d514b3019086"}},{"ruleId":"D1","level":"warning","message":{"text":"RemoteSource::get (cyclomatic 27): RemoteSource::get has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"safety-label-source/remote.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32ee266089fcc0b99ab5202a480c1bd913e0962c68818a4c79521ed50ccb568"}},{"ruleId":"D1","level":"warning","message":{"text":"TweetEventData::read_from_in_protocol (cyclomatic 27): TweetEventData::read_from_in_protocol has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet_events.rs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c46eb3606d8ed7c99e212a98975b4db75028584a30e1a46c478af235a003a74"}},{"ruleId":"D1","level":"warning","message":{"text":"xai_recsys_engine::storage_util::load_single_array (cyclomatic 27): xai_recsys_engine::storage_util::load_single_array has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a9b10814213629d83966f35edc09f314cbb41bf5287d6eff72415cde9b07bc"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit2O8.createASTNode (cyclomatic 27): FunctionUnit2O8.createASTNode has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (FunctionUnit3O8.createASTNode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10883}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2373f71b35ef6c79afd71cb117676047cb0d21c83f1c6f4c2a7702c467e4f5"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit3O8.createASTNode (cyclomatic 27): FunctionUnit3O8.createASTNode has cyclomatic complexity 27 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (FunctionUnit2O8.createASTNode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":12299}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc8ca8479efaae981057c08b3c41c7eb4ba7fe295506992f395b6f7995b4443"}},{"ruleId":"D1","level":"warning","message":{"text":"dump_gen._check_with_pyarrow (cyclomatic 27): dump_gen._check_with_pyarrow has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/dump_gen.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"abccd585c791cb1146b10c81bcb8423d53f62c6de039e7d8171598594f70e2db"}},{"ruleId":"D1","level":"warning","message":{"text":"RetrievalModelRunner.gather_embeddings_and_forward (cyclomatic 27): RetrievalModelRunner.gather_embeddings_and_forward has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":5105}}}],"partialFingerprints":{"codehealthFindingId/v1":"187cedd0c6ff36354b9e5390f3ad447c6a3b41c027a2c3160a7e98acca84f4d5"}},{"ruleId":"D1","level":"warning","message":{"text":"xai_configlib.from_dict (cyclomatic 27): xai_configlib.from_dict has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/common/xai-configlib/src/xai_configlib/__init__.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f437af956617afcab13726715896567ea1ae495f2622ef15ca1d94537d8d7be"}},{"ruleId":"D1","level":"warning","message":{"text":"HoldGate::evaluate (cyclomatic 26): HoldGate::evaluate has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"adccc1422864ffee3f1f9f18f35a02f2af0c1c0ac7f8199b75d96f2d7258549e"}},{"ruleId":"D1","level":"warning","message":{"text":"Perspective::write_to_out_protocol (cyclomatic 26): Perspective::write_to_out_protocol has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Account::read_from_in_protocol (cyclomatic 71) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":10489}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55dbbd50cbe4d8f8e0f27f32c6253a8e778215cf2003f405cf565f73a232acd"}},{"ruleId":"D1","level":"warning","message":{"text":"FlashAttentionForwardSm100.mma (cyclomatic 26): FlashAttentionForwardSm100.mma has cyclomatic complexity 26 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6020860ee93b8cc24166e583d7fc5e47bc6f3624b14b71dbccd142d046c2ea"}},{"ruleId":"D1","level":"warning","message":{"text":"sequence_packing.pack_batch (cyclomatic 26): sequence_packing.pack_batch has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/sequence_packing.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba585a4f73f05828cc719ab8f0ad7d0d289dfa66d66ece6884e6478e575b07f"}},{"ruleId":"D1","level":"warning","message":{"text":"model_runner._loader_subprocess_main (cyclomatic 26): model_runner._loader_subprocess_main has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"2730aad7a17b020ec6cd6f5f7a5e5aac46d3cff43e368f7c1bef43c074c80a57"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysTrainer._write_shmem_checkpoint (cyclomatic 26): RecsysTrainer._write_shmem_checkpoint has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":3502}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13f075993492d53ecc5b1a339436423840e7a29b81a1455131dc52670d51801"}},{"ruleId":"D1","level":"warning","message":{"text":"checksum.compare_checksum_dicts (cyclomatic 26): checksum.compare_checksum_dicts has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/training/xai-checkpointing/xai_checkpointing/checksum.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7253b2130e041a850c2ef334e3e6a18412f3acebb787a47e961157be919da616"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaLoader.hydrate_video (cyclomatic 26): MediaLoader.hydrate_video has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9cd9b9ea4b1add76f1b34123a22346a4225bd663b0d33ce7a94c026ce8c275"}},{"ruleId":"D1","level":"warning","message":{"text":"UthReferenceMonthMhPublisherApp.buildReference (cyclomatic 25): UthReferenceMonthMhPublisherApp.buildReference has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthReferenceMonthMhPublisherJob.scala"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2623da43614125b96fab1a0bfa3d719b3ac54d3a7104961854673a16bed8a7e"}},{"ruleId":"D1","level":"warning","message":{"text":"Type.of (cyclomatic 25): Type.of has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/Type.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"685cb1f3bb8a478bd6d171a0dc283a1354e5497b205436bed1a458dfe8d456d5"}},{"ruleId":"D1","level":"warning","message":{"text":"V8SearchEmbedPostRenderer.render_for_embedding (cyclomatic 25): V8SearchEmbedPostRenderer.render_for_embedding has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v8_search.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0def6290872aa8f074f36ce795db4e4f838d7e8451b8427f6b4e62cdeb96860a"}},{"ruleId":"D1","level":"warning","message":{"text":"AppPushDevice::write_to_out_protocol (cyclomatic 24): AppPushDevice::write_to_out_protocol has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Account::read_from_in_protocol (cyclomatic 71) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":13112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c2468d5c605022b8224bf62727b1c69f051e3b1002f64e8dbfdb08e2feda02"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit4O7.createASTNode (cyclomatic 24): FunctionUnit4O7.createASTNode has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (FunctionUnit2O7.createASTNode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9687}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61668821ef4c215c504dfe86638e0a161a3fe07004231a0f720269a8b753999"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit2O7.createASTNode (cyclomatic 24): FunctionUnit2O7.createASTNode has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (FunctionUnit4O7.createASTNode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10550}}}],"partialFingerprints":{"codehealthFindingId/v1":"d084559f962f6b28dca8eec6c46142778d11a6601db7f41139871aaf6cfe0e07"}},{"ruleId":"D1","level":"warning","message":{"text":"score_results_sink_focal._publish_score_result (cyclomatic 24): score_results_sink_focal._publish_score_result has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"1401aa2ee66e4370cf3ef7155ec89f18e6a536e8354d573613752b7d68d4d809"}},{"ruleId":"D1","level":"warning","message":{"text":"kafkaconsumer.consume_messages (cyclomatic 24): kafkaconsumer.consume_messages has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7be5a4bbe9ac5c3d9ea55bd43fe5add0f6f6e16ba4713b0b391691494332193"}},{"ruleId":"D1","level":"warning","message":{"text":"recsys_feature_prep._add_context_features (cyclomatic 24): recsys_feature_prep._add_context_features has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_feature_prep.py"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37645187cca2f840d8fb660c6173fc9a5708097b3623ff935c9b073e8ff17ad"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysAggregatedModel._compute_metrics_after_masks (cyclomatic 24): RecsysAggregatedModel._compute_metrics_after_masks has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":2601}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3b46f128ee409a58cd0c170caff1d4a8cf224735c8e334094de7d26370e490"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskSafetyPtosAdultContentLeadingFramesFilter._eligible_with_post (cyclomatic 24): TaskSafetyPtosAdultContentLeadingFramesFilter._eligible_with_post has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_adult_content_leading_frames_filter.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb434a8f5be848bedcae6296375c55388590734f5a10cdb2c2b8a4c6976e298"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::action_control::levels::record_problem (cyclomatic 23): crate::abuse-enforcement-service::service-lib::src::action_control::levels::record_problem has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control/levels.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade67a36523b012824fd891b736b336ab1cd0b5a5bfc3505d3e3011f36b3baf6"}},{"ruleId":"D1","level":"warning","message":{"text":"RetrievalInputBuffer::compute_from_columnar_bytes (cyclomatic 23): RetrievalInputBuffer::compute_from_columnar_bytes has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/util.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d11b3ba21a1a4b4edeb7cb553e08af6f89f0e4427d6349120b7ead17ce7fbd3"}},{"ruleId":"D1","level":"warning","message":{"text":"xai_recsys_engine::storage_util::find_latest_storage_checkpoint_async (cyclomatic 23): xai_recsys_engine::storage_util::find_latest_storage_checkpoint_async has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b2a71f8944bc1d3a8b403be3d34a7fd28e54cacd2ca3eafd31c324cef06dca"}},{"ruleId":"D1","level":"warning","message":{"text":"InterleavingRecordBatchProvider._get_record_batches_block_shuffle (cyclomatic 23): InterleavingRecordBatchProvider._get_record_batches_block_shuffle has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"77aed3e84df8ceadf2fc38dd3c12e18d8ce992354e2a984abb49c16b2b84256b"}},{"ruleId":"D1","level":"warning","message":{"text":"HistoryUrlEmbeddingLookup._lookup (cyclomatic 23): HistoryUrlEmbeddingLookup._lookup has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/history_url_embedding.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f730db80008db04bea967acaa95b8eb99aedf09457e531f6c49baee557e696"}},{"ruleId":"D1","level":"warning","message":{"text":"kafkaconsumer._consume_multi_consumer (cyclomatic 23): kafkaconsumer._consume_multi_consumer has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a87bf34ccc0224a8adf93c43c097e492cfec7bb112736bd933b57dda257dc1d"}},{"ruleId":"D1","level":"warning","message":{"text":"launch_inference.run (cyclomatic 23): launch_inference.run has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_inference.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f5d90e82c02005405d83266213719c3bc8d1fa81aaed90f44def12db82d68e"}},{"ruleId":"D1","level":"warning","message":{"text":"FullTweet::read_from_in_protocol (cyclomatic 22): FullTweet::read_from_in_protocol has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: Event::write_to_out_protocol (cyclomatic 41) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"362a929d1ed6437c41c58138cf4a4b06e89fc27a9e84548e65e911b06f61d124"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationExtension1::write_to_out_protocol (cyclomatic 22): NotificationExtension1::write_to_out_protocol has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Account::read_from_in_protocol (cyclomatic 71) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":7387}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b41b80211a45fa8eea0d802dc6163fff8245e3f0ade5053a1aa9d3594bf5da"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::home-mixer::ads::partition_organic_blender::blend_impl (cyclomatic 22): crate::home-mixer::ads::partition_organic_blender::blend_impl has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/partition_organic_blender.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c45be9d9db18b91fa3792cf07469142a37113e8eed6d34d40036335b8a2621c"}},{"ruleId":"D1","level":"warning","message":{"text":"abuse_v3_features::extract_batch (cyclomatic 22): abuse_v3_features::extract_batch has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/abuse-v3-features/src/lib.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"15042d34e7b4f4b7f5cb23b1b501b2603abf569d924a84ac98c2eca739a80c99"}},{"ruleId":"D1","level":"warning","message":{"text":"mm_encoder._render_single_post (cyclomatic 22): mm_encoder._render_single_post has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/mm_encoder.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a6564c8d41b94f91054dd1bdc885f9af843385d743ba9d1565f83599fb5abb"}},{"ruleId":"D1","level":"warning","message":{"text":"ranker_attention_varlen_fa4.varlen_kernels (cyclomatic 22): ranker_attention_varlen_fa4.varlen_kernels has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"7982f3c91122e01720be79cd3cfff1a468fc394ccbf69c8bc4cf22b50736707a"}},{"ruleId":"D1","level":"warning","message":{"text":"InterleavingRecordBatchProvider._get_ready_batches_from_index (cyclomatic 22): InterleavingRecordBatchProvider._get_ready_batches_from_index has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2bf19c3d05a644690afdc47abf30401fa62e40b3c654e4f16336ab71743f84d"}},{"ruleId":"D1","level":"warning","message":{"text":"recsys_batch.apply_global_negative_sampling (cyclomatic 22): recsys_batch.apply_global_negative_sampling has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":2121}}}],"partialFingerprints":{"codehealthFindingId/v1":"437456f1b07c44d5e22c590467edfa2ca4b4cfbe323e4523927dcd8a1aaf7eb6"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseModelRunner._coordinator_loop (cyclomatic 22): BaseModelRunner._coordinator_loop has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffed255d6551c7208c3be1dff39cc1206d594265499135c47da83590fd3af6f"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysAggregatedModel.embed_categorical_context_features (cyclomatic 22): RecsysAggregatedModel.embed_categorical_context_features has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":3225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1e689934ca49bae03a502ee535219412379d2843a7b921c366577783339390"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysTrainer.maybe_build_retrieval_post_embeddings (cyclomatic 22): RecsysTrainer.maybe_build_retrieval_post_embeddings has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":4168}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b1523c3bf21a8a1a7b4769e7bf4b7db43bc36f42173f4f01cadd69578da4de"}},{"ruleId":"D1","level":"warning","message":{"text":"Conversation.to_openai_messages (cyclomatic 22): Conversation.to_openai_messages has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/lm/convo.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"db72c17150f77fd2032e3605e945bde3daae95675edf3af0be1c96f7a7c37b4a"}},{"ruleId":"D1","level":"warning","message":{"text":"V5EmbedPostRenderer._render_single_post (cyclomatic 22): V5EmbedPostRenderer._render_single_post has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ed642c1a0a00fc085b1c46e8213467f72bb3d0f118777910c536bad9573de4"}},{"ruleId":"D1","level":"warning","message":{"text":"Notification::write_to_out_protocol (cyclomatic 21): Notification::write_to_out_protocol has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Account::read_from_in_protocol (cyclomatic 71) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":7693}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a4b54be578ee475282047d686ad149745b487f765fc6ff1c57b91bb3e2e457"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::action_control::levels::resolve_rows (cyclomatic 21): crate::abuse-enforcement-service::service-lib::src::action_control::levels::resolve_rows has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control/levels.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98effc8a5118938971f284f52cdfff91136b39b09ac8cc4ba7d67fcd5163135"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit2O6.createASTNode (cyclomatic 21): FunctionUnit2O6.createASTNode has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10267}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca059077fb776fa4f056f9883e30dea2a2101b932897fed71a5b41147c8c792"}},{"ruleId":"D1","level":"warning","message":{"text":"FeaturesOfMediaUpdate.putTags (cyclomatic 21): FeaturesOfMediaUpdate.putTags has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfMediaUpdate.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9bcf7b63c451b61bd12502230344c82572c2dc5b3a638f3d6f1e4ae36076cc"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseModelRunner._load_via_nfs (cyclomatic 21): BaseModelRunner._load_via_nfs has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"5087870adc42559b512d09e765df05537cb01977d7e6b978f2cc19c4d8544d36"}},{"ruleId":"D1","level":"warning","message":{"text":"checkpointing.save_checkpoint (cyclomatic 21): checkpointing.save_checkpoint has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/checkpointing.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"876de1b10410fd58896b060121b7001cd049213ba27c5cd697c2dc12315c18eb"}},{"ruleId":"D1","level":"warning","message":{"text":"Post.from_post_metadata (cyclomatic 21): Post.from_post_metadata has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/data_types.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8c486a0a4d497568d0e55a02c380e2fdb04b7a02e6e48ce72a325780a9c00c"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskWriteSafetyPostAnnotationsResultSink._exec (cyclomatic 21): TaskWriteSafetyPostAnnotationsResultSink._exec has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b50f92ad3a60cd1897559b0a5a82a1267b30d8619d4f1ab5211987f2c16ba35"}},{"ruleId":"D1","level":"warning","message":{"text":"AdsBrandSafetyVfHydrator::hydrate (cyclomatic 20): AdsBrandSafetyVfHydrator::hydrate has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/ads_brand_safety_vf_hydrator.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef89ee51c0808f83cfc0874556cae8f949b6c370f2794752eea023cf0f58e69"}},{"ruleId":"D1","level":"warning","message":{"text":"AnalysisProcessor::process_batch (cyclomatic 20): AnalysisProcessor::process_batch has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/analysis_processor.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6549276f8e72a8d9773ea84bd7bdb624c186232ee0fb0cc248baaab27147464"}},{"ruleId":"D1","level":"warning","message":{"text":"FullTweet::write_to_out_protocol (cyclomatic 20): FullTweet::write_to_out_protocol has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Event::write_to_out_protocol (cyclomatic 41) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"698cad4cbb925cebaeff4656c4db13fb6d63146c18ff229692566ac2db533c2c"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::action_control::harsher_because (cyclomatic 20): crate::abuse-enforcement-service::service-lib::src::action_control::harsher_because has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e721b4e148df29948fd8dddc39a9f88dd43c30792b1f06554d0a4f3dac2fda"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::backfill::validate_start (cyclomatic 20): crate::abuse-enforcement-service::service-lib::src::backfill::validate_start has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2d5d0df703782fffb4f5eecbea804868544db42ecab431448e7d46f6d785bb"}},{"ruleId":"D1","level":"warning","message":{"text":"abuse_v3_features::derived::compute_derived (cyclomatic 20): abuse_v3_features::derived::compute_derived has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/abuse-v3-features/src/derived.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a7b8b0c97f0f5d7e3e3a5aee95ef80ee297ee426f635b20ba1026960ee5964"}},{"ruleId":"D1","level":"warning","message":{"text":"RetrievalInputBuffer::compute_for_item (cyclomatic 20): RetrievalInputBuffer::compute_for_item has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/util.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"41024146ae4e79bfde00c009c714f07328391f3a79a728b6f1e183e9956315a0"}},{"ruleId":"D1","level":"warning","message":{"text":"xai_recsys_engine::emb_table::load_tensor_no_resharding (cyclomatic 20): xai_recsys_engine::emb_table::load_tensor_no_resharding has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"342c55731e4fc1532615b7949f729a650735a3eec394012afd6237b414254b5f"}},{"ruleId":"D1","level":"warning","message":{"text":"ThriftStructType.getFieldValueMetadata (cyclomatic 20): ThriftStructType.getFieldValueMetadata has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e251700f5d4ff345014e0d2c2c0beddf31c041d1bf163ba54abdc217df85a8"}},{"ruleId":"D1","level":"warning","message":{"text":"10.serialize (cyclomatic 20): 10.serialize has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8af9a01578a8f6abf4c9444b5ffdddacfc2e2814f169196577d3e331dd14728"}},{"ruleId":"D1","level":"warning","message":{"text":"manhattan_arrow_adapter.arrow_bytes_to_batch (cyclomatic 20): manhattan_arrow_adapter.arrow_bytes_to_batch has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/manhattan_arrow_adapter.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f7a6da11f7caaf5daee39491d681b77a533b85c8519e90c58d00481b1400eb"}},{"ruleId":"D1","level":"warning","message":{"text":"ranker_attention_fa4.ranker_attention_fa4 (cyclomatic 20): ranker_attention_fa4.ranker_attention_fa4 has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"db38e1e1242d6b663e69e20dfe44a93355498a335d24785227246111fb573e7e"}},{"ruleId":"D1","level":"warning","message":{"text":"hooks._checkpoint_cleaner (cyclomatic 20): hooks._checkpoint_cleaner has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e97fc31cd6b62342e9698658b012dbd855bbd7cfd1208ff269d52d0240405d0"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseModelRunner._maybe_init_live_dense_swap (cyclomatic 20): BaseModelRunner._maybe_init_live_dense_swap has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7714cb5604f8061a6734457530e58a637c2845c8edcb1b818808bc3dc7d6fb1"}},{"ruleId":"D1","level":"warning","message":{"text":"xai_configlib.replace_recursive (cyclomatic 20): xai_configlib.replace_recursive has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/common/xai-configlib/src/xai_configlib/__init__.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0043461c33705c25ef8f0253436cb76f6bdfdd47ff7806437d98fb5a2ab8169"}},{"ruleId":"D1","level":"warning","message":{"text":"Backfill::start (cyclomatic 19): Backfill::start has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b105f10162e27544d3b647380c9b03f23ca69ab6c4811f44f23665a9109f4f8"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseSnapshotStore::start (cyclomatic 19): BaseSnapshotStore::start has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"c397904e22040f58edebbade135b15451082fd38c7468291fa0297187567bdbb"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationControl::read_from_in_protocol (cyclomatic 19): ConversationControl::read_from_in_protocol has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":4735}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eea07cbb3d20d7b1e16fc6ccee95ed472590c685a1484d9c1b570ceac1e79ca"}},{"ruleId":"D1","level":"warning","message":{"text":"Case::judge (cyclomatic 19): Case::judge has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/verdict_gate.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2674e23de3ee1ca30f595e7c16a85780482b5351708105c3eb3f50b337bb82"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::action_control::levels::validate_confidence (cyclomatic 19): crate::abuse-enforcement-service::service-lib::src::action_control::levels::validate_confidence has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control/levels.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1986c48fc17d366a0b7b22315f47bedb712c36bdadf3ad3b889310e00275156"}},{"ruleId":"D1","level":"warning","message":{"text":"ScarecrowOutputCollector.addOutputFeature (cyclomatic 19): ScarecrowOutputCollector.addOutputFeature has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scarecrow/ScarecrowBotMaker.scala"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"711c2ba6c2b14f7734317a4b561d94469bb18495cb1c5f21e17e223b85953d1f"}},{"ruleId":"D1","level":"warning","message":{"text":"10.computeFingerprint (cyclomatic 19): 10.computeFingerprint has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (10.toScript, 10.toStratoJson) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: 10.deserialize (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cb85396af79fe19d67e82ddce08c863d77839fc2db0fa7f3faba514a0245b6"}},{"ruleId":"D1","level":"warning","message":{"text":"10.toScript (cyclomatic 19): 10.toScript has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (10.computeFingerprint, 10.toStratoJson) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: 10.deserialize (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a372a3494cd30163466fc142535a48f44ec3e31839af1a0f730663f9dc9faf"}},{"ruleId":"D1","level":"warning","message":{"text":"10.toStratoJson (cyclomatic 19): 10.toStratoJson has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (10.computeFingerprint, 10.toScript) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared. This is NOT this file\u0027s highest cyclomatic complexity: 10.deserialize (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cf3416dc99123e0ea3f91ed0f7472834ab9e5f7c3d2c7fa4e985023f39d987"}},{"ruleId":"D1","level":"warning","message":{"text":"score_results_sink_focal._cusp_lane (cyclomatic 19): score_results_sink_focal._cusp_lane has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cc5f86091b62c1786846f570ceb7e06dabdd4c6df38a55b1cc2f453e3d8f59"}},{"ruleId":"D1","level":"warning","message":{"text":"score_results_sink_focal._build_bq_row (cyclomatic 19): score_results_sink_focal._build_bq_row has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41e69e713d3edee4fc00631e8b2b1b3b98938fb3e093f058ab36dbd5e576b80"}},{"ruleId":"D1","level":"warning","message":{"text":"parquet_recsys._block_resume_window (cyclomatic 19): parquet_recsys._block_resume_window has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"618a94cd30af3f5506503ca28269466770bdc84513497f0bafd7cd82373dce13"}},{"ruleId":"D1","level":"warning","message":{"text":"id_list_features.parse_id_lists (cyclomatic 19): id_list_features.parse_id_lists has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/id_list_features.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbdd52fed136a22038450314dae18de91f5edcf7c24149d261c80b48c1578d3"}},{"ruleId":"D1","level":"warning","message":{"text":"kafkaconsumer.handle_topic_offset (cyclomatic 19): kafkaconsumer.handle_topic_offset has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a09348dcfefc9e05a3d586c9e3db219374d034ac8865803d830fc3b7130f741"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseModelRunner.prepare_and_compute (cyclomatic 19): BaseModelRunner.prepare_and_compute has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3022}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b3d0f3a130e2efb0cbc68d778d11744d120ad011b491d44973a804b596b26a"}},{"ruleId":"D1","level":"warning","message":{"text":"recsys_feature_prep._build_user_features_token (cyclomatic 19): recsys_feature_prep._build_user_features_token has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_feature_prep.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e80d48d4bd724821f1330f8092aa543b95ebc7663d1ed8e3abb08b38de0b5a6"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysAggregatedModelConfig.make (cyclomatic 19): RecsysAggregatedModelConfig.make has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"0292d4820d89c1ceedbe0f58e32ad1c82d8869566e36453e8daf10dc3a17b245"}},{"ruleId":"D1","level":"warning","message":{"text":"id_list_fill_stats.main (cyclomatic 19): id_list_fill_stats.main has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/tools/id_list_fill_stats.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c416e4a120dc04349d4f0a24e32a3297b978cec4774bb8ea89b810b81472dc5"}},{"ruleId":"D1","level":"warning","message":{"text":"log_util.configure_logging (cyclomatic 19): log_util.configure_logging has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/log_util.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bb54d32e3eb0397ebe2dc319ec434b37216aa7f61ef6222a6f6c1e29ba314c"}},{"ruleId":"D1","level":"warning","message":{"text":"load.load_checkpoint_streamed (cyclomatic 19): load.load_checkpoint_streamed has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/training/xai-checkpointing/xai_checkpointing/load.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"18450833493f5c7f37781da7d856dfb16ab105f536af0768e8cacb99fc63f84b"}},{"ruleId":"D1","level":"warning","message":{"text":"PostStore::insert_posts_internal (cyclomatic 18): PostStore::insert_posts_internal has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/posts/post_store.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd30c1fdd86f67229ce7db32a1ea87fee4baae8e23db9d5b3415c9fb532273d5"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaEntity::write_to_out_protocol (cyclomatic 18): MediaEntity::write_to_out_protocol has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: MediaEntity::read_from_in_protocol (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/media_entity.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"42598b99c7a04d5d078a99b67b8dc68bf2c1b634e3aaba2a6dd10129e01ec04d"}},{"ruleId":"D1","level":"warning","message":{"text":"Place::read_from_in_protocol (cyclomatic 18): Place::read_from_in_protocol has cyclomatic complexity 18 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d4656203a8fdcd800a158158e10a24ad611f1edea585a4145571fe89c8290c"}},{"ruleId":"D1","level":"warning","message":{"text":"Profile::write_to_out_protocol (cyclomatic 18): Profile::write_to_out_protocol has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Account::read_from_in_protocol (cyclomatic 71) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":4502}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d51c70eccb527fa6ef1f501cd3572d9653c2b1d05f398d585af0614f9303b9f"}},{"ruleId":"D1","level":"warning","message":{"text":"TraceEmitter::new_active (cyclomatic 18): TraceEmitter::new_active has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/trace.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3c1f2d5683eaef35f3da00d12f6ead4a3067ba2a0f6b3e80be06a8bd1835d6"}},{"ruleId":"D1","level":"warning","message":{"text":"InputBuffer::compute_for_item (cyclomatic 18): InputBuffer::compute_for_item has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16ac4b665557821fcc7a90401aa930e9a1da22a32cbfecdf00080b43b2cfa7c"}},{"ruleId":"D1","level":"warning","message":{"text":"TweetEmbedding::write_to_out_protocol (cyclomatic 18): TweetEmbedding::write_to_out_protocol has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: TweetEmbedding::read_from_in_protocol (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"078be121e2f637010bc26fe91828010404d49fc5d4491cc7d4877f6d0f045c10"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit0O5.createASTNode (cyclomatic 18): FunctionUnit0O5.createASTNode has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 7 other methods here (FunctionUnit1O5.createASTNode, FunctionUnit2O5.createASTNode, FunctionUnit3O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60b4493af052dac1a9a1843fb0ff893a820122f5eb8c7fb0c9ce4e8bf10cff0"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit1O5.createASTNode (cyclomatic 18): FunctionUnit1O5.createASTNode has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O5.createASTNode, FunctionUnit2O5.createASTNode, FunctionUnit3O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a329da75d2def3ede7307ccef8be4cb147f757662458b17e46711836f67ba0"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit2O5.createASTNode (cyclomatic 18): FunctionUnit2O5.createASTNode has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O5.createASTNode, FunctionUnit1O5.createASTNode, FunctionUnit3O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2459}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeea21195471afff603adca1cb9b41e79884a0383d459924e0b48cb0826c7f6b"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit3O5.createASTNode (cyclomatic 18): FunctionUnit3O5.createASTNode has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O5.createASTNode, FunctionUnit1O5.createASTNode, FunctionUnit2O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3549}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1bc7e10d6982f00dde81a6fd9cfec7929026409774a5733da869fad0f99b84"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit4O5.createASTNode (cyclomatic 18): FunctionUnit4O5.createASTNode has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O5.createASTNode, FunctionUnit1O5.createASTNode, FunctionUnit2O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4748}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebce6d62a5f85fb568c5e10e712e996d1babe1cf3ed5fed2e91b4cee981de47"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit5O5.createASTNode (cyclomatic 18): FunctionUnit5O5.createASTNode has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O5.createASTNode, FunctionUnit1O5.createASTNode, FunctionUnit2O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6043}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cd52650e565d5795f3048a49de435a4cb992ba8081d0edb980bee31b62d408"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit6O5.createASTNode (cyclomatic 18): FunctionUnit6O5.createASTNode has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O5.createASTNode, FunctionUnit1O5.createASTNode, FunctionUnit2O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7424}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a74e4a2d1b353179993e061af64989e8fe8990c813647b97e58232bbf178510"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit7O5.createASTNode (cyclomatic 18): FunctionUnit7O5.createASTNode has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O5.createASTNode, FunctionUnit1O5.createASTNode, FunctionUnit2O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8907}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e822680b646f3a79344e8ad6f993a6d6e46ec93060e7f622c5cd009408da6f"}},{"ruleId":"D1","level":"warning","message":{"text":"ScalaType.asJava (cyclomatic 18): ScalaType.asJava has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/compiler/types/ScalaType.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f2a602bf8a56cc5cbbd0dd72e3f3a7d48dfbe86a178cb2b366eca46b30988b"}},{"ruleId":"D1","level":"warning","message":{"text":"Cast.mkCast (cyclomatic 18): Cast.mkCast has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/conversion/Cast.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6ed923d96b7d33b8b80ce47b4ac1d03716ed7b216ec4f3366751a99517c25e"}},{"ruleId":"D1","level":"warning","message":{"text":"kafkaconsumer.validate_offset_map (cyclomatic 18): kafkaconsumer.validate_offset_map has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"0201fbfb2787e2a3111f2393ec59131f7e9b428a1fa46802ab0402a19c2cb843"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysAggregatedModel.__call__ (cyclomatic 18): RecsysAggregatedModel.__call__ has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":4495}}}],"partialFingerprints":{"codehealthFindingId/v1":"357097f2e2740a91d5ebcf6ea10ff4fa2431fc7e20592fad6f0f581424418fa5"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysTrainer.async_emb_step (cyclomatic 18): RecsysTrainer.async_emb_step has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":2109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5de613298bdd28c942677fa28b7cdd675f533acf762a4dd4e08e3f6ba3355c"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysTrainer._create_async_emb_executables (cyclomatic 18): RecsysTrainer._create_async_emb_executables has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":2589}}}],"partialFingerprints":{"codehealthFindingId/v1":"d077b92a32320b66f8b6ef7054336a8626f66df4102ca22d5ff1bf92252d47b7"}},{"ruleId":"D1","level":"warning","message":{"text":"LitePostRenderer.render (cyclomatic 18): LitePostRenderer.render has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/lm/post.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0444b6d5c9ae8c2c27db1d3f142dd47042f6a863aca19f8ab3d458b6868316"}},{"ruleId":"D1","level":"warning","message":{"text":"UserRenderer.render (cyclomatic 18): UserRenderer.render has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/lm/user.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"977764643181c113001a1e49009404909fd0c5193295b534a99f1b4a22dc4a35"}},{"ruleId":"D1","level":"warning","message":{"text":"ScoreResultProcessor::process (cyclomatic 17): ScoreResultProcessor::process has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa9e502a19f7b9c52540c6d89f653373778d01784e53b91ce5869be0743810b"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseSnapshotStore::load_existing_data (cyclomatic 17): BaseSnapshotStore::load_existing_data has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"64729539b28cde438f6004d26bc1be701f0804eea194157c42f5c54bb21de673"}},{"ruleId":"D1","level":"warning","message":{"text":"MessagingDevice::write_to_out_protocol (cyclomatic 17): MessagingDevice::write_to_out_protocol has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Account::read_from_in_protocol (cyclomatic 71) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":12808}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4a6c621bb2adb390d28fbce470a53cc402703eb21b6e3a7f5bd63fbd5cc276"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::home-mixer::ads::time_gap_blender::blend_impl (cyclomatic 17): crate::home-mixer::ads::time_gap_blender::blend_impl has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/time_gap_blender.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2699e1d734dcd548bb6419865945a5fb832d269a07bcc2f84db398853b7d3953"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::home-mixer::util::urt::make_urt_timeline (cyclomatic 17): crate::home-mixer::util::urt::make_urt_timeline has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/mod.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6613be979441a1dec980f4d9eba58c97ceeb211a2db98940b3eda8776de3d2e6"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::visibility-filtering::rules::engine::fold_from (cyclomatic 17): crate::visibility-filtering::rules::engine::fold_from has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/engine.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da022dfdc8965731a8ef4c70778fce9f427a2f44ee754562f508c6c4a1da218"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::vm-ranker::dpp::greedy_dpp (cyclomatic 17): crate::vm-ranker::dpp::greedy_dpp has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vm-ranker/dpp.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c07c3c5ca20b9de1aca979085a5b7b6e85c3c965cd891bc426441333dd03ff"}},{"ruleId":"D1","level":"warning","message":{"text":"ScalaType.asScala (cyclomatic 17): ScalaType.asScala has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/compiler/types/ScalaType.scala"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a0b87c9dc611eebb6455b9f2af895e10adba9f925280b8684e85507b2cd151"}},{"ruleId":"D1","level":"warning","message":{"text":"ExperimentalApproximateCosineSimilarity.apply (cyclomatic 17): ExperimentalApproximateCosineSimilarity.apply has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclustersann/candidate_source/ExperimentalApproximateCosineSimilarity.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"24abbf5e3a4ac7941590a650064032ad34a1f6beb44ab2d1c0c8a01d4cd67411"}},{"ruleId":"D1","level":"warning","message":{"text":"sequence_cache.merge_realtime_into_sequence (cyclomatic 17): sequence_cache.merge_realtime_into_sequence has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/sequence_cache.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43a11115dd69e98655df30c17862897469bc4566905469f41adcf4ab5c21513"}},{"ruleId":"D1","level":"warning","message":{"text":"LazyRecordBatchIterator.seek (cyclomatic 17): LazyRecordBatchIterator.seek has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"93db05eb12399f476d481a0f314d1a0d75e44ce40032c9d6dae9fbfe1893c9ca"}},{"ruleId":"D1","level":"warning","message":{"text":"recsys_model.build_metric_masks (cyclomatic 17): recsys_model.build_metric_masks has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"789780bd6e67e440c97d960a13285026340df9ecdbcc5dc0f8e0328edbdc2a8c"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysTrainer.init (cyclomatic 17): RecsysTrainer.init has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a74cddc0d0cb76dc966e30c2fcf581aa977fba76eefbef6da01956475680ade"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysTrainer.create_dataset (cyclomatic 17): RecsysTrainer.create_dataset has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"8469270751594e896b35fe5001426228c79cb95f9a42846c14f5462ef4989471"}},{"ruleId":"D1","level":"warning","message":{"text":"trainer_recsys._chunked_row_forward_on_device (cyclomatic 17): trainer_recsys._chunked_row_forward_on_device has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50d3bd22bd2c1bc38b58ca7e42e9fa01950e1f2e946e54e52d2712d0adbc0be"}},{"ruleId":"D1","level":"warning","message":{"text":"PostMapper.from_post_metadata_strato (cyclomatic 17): PostMapper.from_post_metadata_strato has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/post_mapper.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c55325b529cfb18d15b73ad33990c440283726aaf2c230a5473de060608c64a"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskSafetyPtosKeyFramesFilter._eligible_with_post (cyclomatic 17): TaskSafetyPtosKeyFramesFilter._eligible_with_post has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_key_frames_filter.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"474814717bf7d321af69b0f8a84516ff842fc512930b90bb36f6ef964c7d3e3a"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskSafetyPtosSafemodelSexNudity._run (cyclomatic 17): TaskSafetyPtosSafemodelSexNudity._run has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e11a03c63408bbba74d23ea3307efad8ae77fae249aeba974d445e240ed886f"}},{"ruleId":"D1","level":"warning","message":{"text":"XaiEmbeddingClientHttp._send_encode_request (cyclomatic 17): XaiEmbeddingClientHttp._send_encode_request has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/embed/embed_http.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56d253231bba93cf8a36f3426aa9e6ca836e6624de1afc551152d06b4f5f420"}},{"ruleId":"D1","level":"warning","message":{"text":"Backfill::set_settings (cyclomatic 16): Backfill::set_settings has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cf487f2654256c51233fc8f18a4721b80719c5bd2fd2421d0fe287a1a6638b"}},{"ruleId":"D1","level":"warning","message":{"text":"Pipeline::run_loop (cyclomatic 16): Pipeline::run_loop has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/pipeline/mod.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb0fe7a4b3ec71a356264a36680ce94f58dcbc795aefc629351da81585ef1bf"}},{"ruleId":"D1","level":"warning","message":{"text":"Place::write_to_out_protocol (cyclomatic 16): Place::write_to_out_protocol has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"db23c668998ca8f4bc76a72cba8e394e41d003a278a70d6c821a408c0ed78ecf"}},{"ruleId":"D1","level":"warning","message":{"text":"Counts::write_to_out_protocol (cyclomatic 16): Counts::write_to_out_protocol has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: Account::read_from_in_protocol (cyclomatic 71) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":9784}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac3c12ef546f9b96939d551e5f1e863bf8ac6bf0cf07cc552a7a5955bd9e95b"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::home-mixer::ads::following_ad_blender::blend_with_spacing (cyclomatic 16): crate::home-mixer::ads::following_ad_blender::blend_with_spacing has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/following_ad_blender.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef519a25ec5e7e108e94d06cf0e48411cd7f57a3e42505ab6930fb6e05eb253a"}},{"ruleId":"D1","level":"warning","message":{"text":"crate::thunder::kafka::tweet_events_listener::process_message_batch (cyclomatic 16): crate::thunder::kafka::tweet_events_listener::process_message_batch has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/kafka/tweet_events_listener.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f5d53630e665891881f20b81c421d2d7d9648367b61d2dc74bb98fcdb8a163"}},{"ruleId":"D1","level":"warning","message":{"text":"InputBuffer::new_with_candidates (cyclomatic 16): InputBuffer::new_with_candidates has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"146ee19d166301cc4756eb57879a8eaad5d6e6484bfed50edb54ae43d9cdadc8"}},{"ruleId":"D1","level":"warning","message":{"text":"xai_recsys_engine::emb_table::send_entries_reporting (cyclomatic 16): xai_recsys_engine::emb_table::send_entries_reporting has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88e19f21acebb4badfab3dd896605b62ea184aac94e1f867d3d91be73d7a62d"}},{"ruleId":"D1","level":"warning","message":{"text":"TrendFlattened::read_from_in_protocol (cyclomatic 16): TrendFlattened::read_from_in_protocol has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: TweetEmbedding::read_from_in_protocol (cyclomatic 20) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de69762df860475ec9225d7f1d0b27412965ab0ad88ad33dbb127a3d26655d7"}},{"ruleId":"D1","level":"warning","message":{"text":"FunctionUnit.codeGen (cyclomatic 16): FunctionUnit.codeGen has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnit.scala"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b17ce9908d7c26999c4a238d4e3c1363e0c1cf7167472be1dd022849032d0b2"}},{"ruleId":"D1","level":"warning","message":{"text":"ScalaType.ofType (cyclomatic 16): ScalaType.ofType has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/compiler/types/ScalaType.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"478ee7495b6e68b3e8baec147912f28a789cb7bee461a920a2b9521eb38a8b06"}},{"ruleId":"D1","level":"warning","message":{"text":"CompiledEvaluator.run (cyclomatic 16): CompiledEvaluator.run has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/rule/RuleEvaluator.scala"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d5077dd7ba037a693c12ca20766ce986b4a814162e4446dabdfa5beeed6ca6"}},{"ruleId":"D1","level":"warning","message":{"text":"FeaturesOfRtpCaseUpdateEvent.processEvidenceFields (cyclomatic 16): FeaturesOfRtpCaseUpdateEvent.processEvidenceFields has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfRtpCaseUpdateEvent.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c68ba0dc0ef2adde15dcb87857bac88f5f1a7c3511a35f6d887924899304a1"}},{"ruleId":"D1","level":"warning","message":{"text":"2.split (cyclomatic 16): 2.split has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/RegexCache.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5708d076c8a6a895fe7f99050ee9a98816d6c5492a6bf3b6afb5b9782bdddaf2"}},{"ruleId":"D1","level":"warning","message":{"text":"ThriftOperator.isDivergentTo (cyclomatic 16): ThriftOperator.isDivergentTo has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b51ab07f663e36c8205b604027c1b370c774b66abf6ce2667e7eea0ed35e008"}},{"ruleId":"D1","level":"warning","message":{"text":"ThriftStructOperator.isDivergentTo (cyclomatic 16): ThriftStructOperator.isDivergentTo has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ca14bedfb4d98632a618b2067238b8c71f8c28a8542703dfd8861ee15cf046"}},{"ruleId":"D1","level":"warning","message":{"text":"login_starter_pack_counter.get_login_pack_age_minutes (cyclomatic 16): login_starter_pack_counter.get_login_pack_age_minutes has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/login_starter_pack_counter.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8feee83566b040e8e8032bc124ebd8c5b1a907d1d4d78513254c28b602a13702"}},{"ruleId":"D1","level":"warning","message":{"text":"score_results_sink_focal._build_policy_config (cyclomatic 16): score_results_sink_focal._build_policy_config has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac15f4c563fb85ffb03d54f13adfadba1d8752e10d675117947a7181e8b8697"}},{"ruleId":"D1","level":"warning","message":{"text":"score_results_sink_focal._spam_bounce_lane (cyclomatic 16): score_results_sink_focal._spam_bounce_lane has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92103f408eabb8da890b3d545e3de417b5baa260506484ae2fe07a0cab5ab95"}},{"ruleId":"D1","level":"warning","message":{"text":"score_results_sink_focal._apply_scoring_cooldowns (cyclomatic 16): score_results_sink_focal._apply_scoring_cooldowns has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"be73530b6b194efbbddbbda93c42e3cf44fd8c87f9c419cdd1a1206f62b38f12"}},{"ruleId":"D1","level":"warning","message":{"text":"mm_encoder._process_cardv2 (cyclomatic 16): mm_encoder._process_cardv2 has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/mm_encoder.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39c65e690fbb4dddf87353c2c392d3d1aa08ad738bed070774797408bd3f0e3"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseModelRunner._follower_coordinator_loop (cyclomatic 16): BaseModelRunner._follower_coordinator_loop has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a347807700788723f48622b4131f15541cd9fa5a0829ef17dc4676bc3c88fe"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseModelRunner.maybe_load_checkpoint (cyclomatic 16): BaseModelRunner.maybe_load_checkpoint has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2574}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b966dd7940c642a594c2d5e700df4233d1faa937c185e1dbc843da909c26ede"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysAggregatedModel.decode_continuous (cyclomatic 16): RecsysAggregatedModel.decode_continuous has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":3590}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb15fb18be6ce0f3fd4a53f958960e23c8f53f3f66b49682b83098f81182f43"}},{"ruleId":"D1","level":"warning","message":{"text":"RecsysTrainer.dataset_with_prepare (cyclomatic 16): RecsysTrainer.dataset_with_prepare has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ea2821f53df40777abd629212b2c0203303a96799b3c8139f721e1494aa7dc"}},{"ruleId":"D1","level":"warning","message":{"text":"jax_extensions._find_no_barrier_inputs (cyclomatic 16): jax_extensions._find_no_barrier_inputs has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/jax_extensions.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34303458a51d5fd8db5b000397dfff53c36e53d7ac8fadd7f41eb36a7072e63"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaLoader.construct_convo_video (cyclomatic 16): MediaLoader.construct_convo_video has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bb3529fd1bf5b6520e9e4a5c75757b92bfcb15b6dc4135a00048a849bd29ec"}},{"ruleId":"D1","level":"warning","message":{"text":"TaskASRTranscription._exec_with_post (cyclomatic 16): TaskASRTranscription._exec_with_post has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task_asr.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cb5e1c87507b6eddbd7174ae589de1a330f01996651900a5aa360f5953abd7"}},{"ruleId":"D1","level":"warning","message":{"text":"V5EmbedPostRenderer._process_cardv2 (cyclomatic 16): V5EmbedPostRenderer._process_cardv2 has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d50c9ba9a749a8476286a696e1e1cd5cfb0b70e947db636837d421bd537770"}},{"ruleId":"D2","level":"warning","message":{"text":"batch_prefetcher.prefetcher_loop (cognitive 305): batch_prefetcher.prefetcher_loop has cognitive complexity 305 (threshold 15). Drivers by points: if/else 68 (175 pts), error handling 19 (52 pts), loops 18 (47 pts), ternaries 6 (21 pts), boolean chains 10 (nesting depth added 184). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da5a2e7c916c07fd4f343df0101c868a30e676a6384321a5c53a57231622e44"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::proto_parser::parse (cognitive 238): xai_recsys_engine::proto_parser::parse has cognitive complexity 238 (threshold 15). Drivers by points: if/else 36 (193 pts), match/switch 6 (21 pts), loops 4 (17 pts), boolean chains 7 (nesting depth added 185). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/proto_parser.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e9fc84a664e952732a005a45d022de1b67646a6d08a3fca403d328ec8f9615"}},{"ruleId":"D2","level":"warning","message":{"text":"FlashAttentionForwardSm100.correction_loop (cognitive 227): FlashAttentionForwardSm100.correction_loop has cognitive complexity 227 (threshold 15). Drivers by points: if/else 43 (124 pts), ternaries 15 (62 pts), loops 9 (34 pts), boolean chains 7 (nesting depth added 153). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b307a34d234d1ea36938cf1dc5da94f7f063656d7094399e44a7d6aafa56f05b"}},{"ruleId":"D2","level":"warning","message":{"text":"recsys_batch.from_record_batch (cognitive 208): recsys_batch.from_record_batch has cognitive complexity 208 (threshold 15). Drivers by points: if/else 74 (129 pts), loops 14 (31 pts), ternaries 16 (24 pts), boolean chains 21, error handling 1 (3 pts) (nesting depth added 82). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5b962d86f083321d77ced8ebc806f4f50ef710b7e64a4e086c9ec9dfb5d535"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationValue::read_from_in_protocol (cognitive 197): AnnotationValue::read_from_in_protocol has cognitive complexity 197 (threshold 15). Drivers by points: if/else 37 (104 pts), loops 30 (91 pts), match/switch 1 (2 pts) (nesting depth added 129). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":4926}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db2d4054e127e7aa884b821bb31cd6da28570acb19dfa78cbef635edefc8b77"}},{"ruleId":"D2","level":"warning","message":{"text":"row_embedding_restore._prepare (cognitive 163): row_embedding_restore._prepare has cognitive complexity 163 (threshold 15). Drivers by points: if/else 38 (82 pts), ternaries 16 (35 pts), boolean chains 34, loops 5 (12 pts) (nesting depth added 70). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/row_embedding_restore.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86237528436d162cb8a64c95cfb03ac86b8cf1d96550b0e35127fa917fe5a36"}},{"ruleId":"D2","level":"warning","message":{"text":"RankingBatchPrep::compute_batch_inputs_rust_quick (cognitive 146): RankingBatchPrep::compute_batch_inputs_rust_quick has cognitive complexity 146 (threshold 15). Drivers by points: if/else 84 (127 pts), boolean chains 15, loops 3 (4 pts) (nesting depth added 44). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14d84e3ebae44b6c4216821079efd752f25cad65416f22e23e4556b71b3f5b8"}},{"ruleId":"D2","level":"warning","message":{"text":"Trainer.maybe_load_checkpoint (cognitive 133): Trainer.maybe_load_checkpoint has cognitive complexity 133 (threshold 15). Drivers by points: if/else 34 (74 pts), loops 11 (35 pts), ternaries 4 (12 pts), boolean chains 9, error handling 1 (3 pts) (nesting depth added 74). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5df03dae3e11b705c6e5fa15be836d23c4ea715dd911fa7630eb2a7eea603db"}},{"ruleId":"D2","level":"warning","message":{"text":"Event::read_from_in_protocol (cognitive 131): Event::read_from_in_protocol has cognitive complexity 131 (threshold 15). Drivers by points: if/else 45 (128 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 84). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":4137}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7282e304e6b282e2c1935184e786d86d40512ecf0dde88b35f9512ca0b42cb"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysAggregatedModel.loss_inputs_and_normalizers (cognitive 123): RecsysAggregatedModel.loss_inputs_and_normalizers has cognitive complexity 123 (threshold 15). Drivers by points: if/else 28 (76 pts), ternaries 11 (31 pts), boolean chains 9, loops 4 (7 pts) (nesting depth added 71). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":4647}}}],"partialFingerprints":{"codehealthFindingId/v1":"374f9260ca4a36aeca62c848429be0455d5310f2f755aabb767aa326e6ef5e51"}},{"ruleId":"D2","level":"warning","message":{"text":"abuse_score_accumulator::main (cognitive 119): abuse_score_accumulator::main has cognitive complexity 119 (threshold 15). Drivers by points: if/else 31 (83 pts), loops 10 (20 pts), match/switch 6 (14 pts), boolean chains 2 (nesting depth added 70). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7119eb8d0b1325c4399283dec07f92ead7bbb52c32eb572574a6ed038d1077e3"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysAggregatedModel.build_inputs (cognitive 112): RecsysAggregatedModel.build_inputs has cognitive complexity 112 (threshold 15). Drivers by points: if/else 38 (67 pts), ternaries 15 (32 pts), boolean chains 8, loops 2 (5 pts) (nesting depth added 49). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":3987}}}],"partialFingerprints":{"codehealthFindingId/v1":"b604baf2fd861cbd4ccd522c67f7bcbb653b0fbdceb6d52e0395f0b8a79a930b"}},{"ruleId":"D2","level":"warning","message":{"text":"recsys_bundle_export.build_bundle (cognitive 109): recsys_bundle_export.build_bundle has cognitive complexity 109 (threshold 15). Drivers by points: if/else 33 (56 pts), ternaries 17 (32 pts), boolean chains 12, loops 4 (9 pts) (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/recsys_bundle_export.py"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"19de3abfeef29b1acfc5b9e73f10ed2064c5d2f1eedc5871fa996a1fe80a401e"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturesOfRtpCaseUpdateEvent.apply (cognitive 105): FeaturesOfRtpCaseUpdateEvent.apply has cognitive complexity 105 (threshold 15). Drivers by points: if/else 24 (92 pts), loops 4 (11 pts), boolean chains 2 (nesting depth added 75). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfRtpCaseUpdateEvent.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90b5a62b3f449e23b734d8f242633a4842a2edc539b5070a262a357244dffb1"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::run_enforcement_inner (cognitive 103): crate::abuse-enforcement-service::service-lib::src::run_enforcement_inner has cognitive complexity 103 (threshold 15). Drivers by points: if/else 41 (79 pts), boolean chains 12, match/switch 9 (12 pts) (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"4271891a787fd5bb8be73ad46035a231374c9ec0bc891c3c3a4e8d82717d2362"}},{"ruleId":"D2","level":"warning","message":{"text":"FlashAttentionForwardSm100.softmax_loop (cognitive 99): FlashAttentionForwardSm100.softmax_loop has cognitive complexity 99 (threshold 15). Drivers by points: if/else 20 (43 pts), ternaries 14 (32 pts), boolean chains 12, loops 4 (12 pts) (nesting depth added 49). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"facd5cfc56bef192ddeffd84a0d5ebceed1f0e1a6fb916bcd81c6166cc27db10"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModelRunner.run (cognitive 98): BaseModelRunner.run has cognitive complexity 98 (threshold 15). Drivers by points: if/else 32 (64 pts), error handling 6 (20 pts), loops 4 (9 pts), boolean chains 4, ternaries 1 (nesting depth added 51). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3588}}}],"partialFingerprints":{"codehealthFindingId/v1":"87952a9e431f52b9b5d5c36a8db2181628ae8b2918646a25b78b7796cf283957"}},{"ruleId":"D2","level":"warning","message":{"text":"history_id_lists._fill_rows (cognitive 96): history_id_lists._fill_rows has cognitive complexity 96 (threshold 15). Drivers by points: if/else 17 (62 pts), loops 7 (17 pts), boolean chains 9, ternaries 2 (8 pts) (nesting depth added 61). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/history_id_lists.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"270ec3c3f59903af514d445dc07b2e8cd18b3f2c89727a615332e745be6bc78f"}},{"ruleId":"D2","level":"warning","message":{"text":"FlashAttentionForwardSm100.load (cognitive 89): FlashAttentionForwardSm100.load has cognitive complexity 89 (threshold 15). Drivers by points: if/else 21 (55 pts), ternaries 6 (21 pts), boolean chains 8, loops 2 (5 pts) (nesting depth added 52). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e08f8231a77a683b3c7016b3535c4939a5fd2eb4d118b3daf0ccc4792bd456"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModelRunner.handle_requests (cognitive 88): BaseModelRunner.handle_requests has cognitive complexity 88 (threshold 15). Drivers by points: if/else 28 (72 pts), boolean chains 15, loops 1 (nesting depth added 44). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3238}}}],"partialFingerprints":{"codehealthFindingId/v1":"746632710317d7722df0376915b37f5def379d0aefa6a14e3268a4f8c566f21f"}},{"ruleId":"D2","level":"warning","message":{"text":"score_results_sink_focal._decide_hard_enforcement (cognitive 87): score_results_sink_focal._decide_hard_enforcement has cognitive complexity 87 (threshold 15). Drivers by points: if/else 30 (55 pts), boolean chains 25, loops 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"821715f7788f137cdf4edc6e433d92b63cec889799fca611f0d3b4e189bc6ddf"}},{"ruleId":"D2","level":"warning","message":{"text":"RustKafkaDataset._async_kafka_consumer_arrow (cognitive 87): RustKafkaDataset._async_kafka_consumer_arrow has cognitive complexity 87 (threshold 15). Drivers by points: if/else 30 (55 pts), ternaries 9 (13 pts), boolean chains 10, error handling 2 (5 pts), loops 2 (4 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/rust_kafka_recsys.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e282fff74c8862deda2eb3b092ed39e9388a0b218867fc45bdc9057da63fd40"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::storage_util::load_single_array (cognitive 86): xai_recsys_engine::storage_util::load_single_array has cognitive complexity 86 (threshold 15). Drivers by points: if/else 25 (68 pts), match/switch 3 (9 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 53). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e1f43ec23958a826489c39c65c1a052908091da4e54c0115f8c35ddcb247d8"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionControl::set_rows (cognitive 85): ActionControl::set_rows has cognitive complexity 85 (threshold 15). Drivers by points: if/else 25 (42 pts), boolean chains 19, loops 11 (17 pts), match/switch 5 (7 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control/levels.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d9d82ffea405494a5121523f2802312a42f530f38822bbe854ac72c513eaaa"}},{"ruleId":"D2","level":"warning","message":{"text":"InterleavingRecordBatchProvider.__init__ (cognitive 83): InterleavingRecordBatchProvider.__init__ has cognitive complexity 83 (threshold 15). Drivers by points: if/else 33 (52 pts), boolean chains 23, ternaries 6 (7 pts), error handling 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9745fd884bce012b5993d0e3420352b551e83e9b4f95ef8985cdf095c30202d"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::storage_util::remove_old_from_storage_async (cognitive 81): xai_recsys_engine::storage_util::remove_old_from_storage_async has cognitive complexity 81 (threshold 15). Drivers by points: if/else 38 (66 pts), loops 6 (10 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e372cc4e1c6d4ac9c5f919b83f3d1906fb0dce147fc01f3251dbd486419ee8"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTwoTowerEval.run (cognitive 80): RecsysTwoTowerEval.run has cognitive complexity 80 (threshold 15). Drivers by points: if/else 28 (58 pts), error handling 3 (6 pts), ternaries 3 (6 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/recsys_eval.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f6faa5da72c3f0168512ca6f7edb84e4486d187b83f12f739dbfb8c1ce2f2a"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaLoader.hydrate_media (cognitive 80): MediaLoader.hydrate_media has cognitive complexity 80 (threshold 15). Drivers by points: if/else 21 (53 pts), loops 6 (19 pts), boolean chains 8 (nesting depth added 45). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf34a1fbf0ec0cf747d1814bb71bf90d1a5d2a50e5b619b8cdbb153641d4cf0"}},{"ruleId":"D2","level":"warning","message":{"text":"FlashAttentionForwardSm100.mma (cognitive 79): FlashAttentionForwardSm100.mma has cognitive complexity 79 (threshold 15). Drivers by points: if/else 15 (44 pts), loops 6 (17 pts), ternaries 6 (17 pts), boolean chains 1 (nesting depth added 51). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"762998033bb050b49a93e823730ee6e438a58c350dab61cbbb03c62eda77cef4"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::copy_port_client::download_embedding_table_progressive (cognitive 77): xai_recsys_engine::copy_port_client::download_embedding_table_progressive has cognitive complexity 77 (threshold 15). Drivers by points: if/else 18 (58 pts), loops 6 (13 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 48). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d040d94463bb6c7e8aa0e258d0fb9384c32ab58c05eb514ac77227d092fbce8b"}},{"ruleId":"D2","level":"warning","message":{"text":"FlashAttentionForwardSm100.__call__ (cognitive 74): FlashAttentionForwardSm100.__call__ has cognitive complexity 74 (threshold 15). Drivers by points: if/else 24 (32 pts), ternaries 23 (30 pts), boolean chains 11, loops 1 (nesting depth added 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2df420bc3b9171cbbd17e59f3d7ef6fcedb7845b4cc71740ef99497681375e"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTrainer._finalize_checkpoint_load (cognitive 74): RecsysTrainer._finalize_checkpoint_load has cognitive complexity 74 (threshold 15). Drivers by points: if/else 18 (36 pts), loops 6 (14 pts), boolean chains 12, ternaries 4 (12 pts) (nesting depth added 34). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":3230}}}],"partialFingerprints":{"codehealthFindingId/v1":"3398181b75a4707f064121293b0c9b0212a724cbdf7bc6055e9ffb8115585423"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysAggregatedModel.loss (cognitive 72): RecsysAggregatedModel.loss has cognitive complexity 72 (threshold 15). Drivers by points: if/else 33 (44 pts), ternaries 7 (18 pts), boolean chains 6, loops 3 (4 pts) (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":4913}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7644a870ac1edb5641bc5ed7319e3f0c8abefee831b27c5b407796325653e6"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTrainer.create_executable (cognitive 72): RecsysTrainer.create_executable has cognitive complexity 72 (threshold 15). Drivers by points: if/else 39 (61 pts), boolean chains 6, ternaries 3 (5 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":2744}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e65833d9335ff5929e849305787004cc626aa1165db6e3ae0ad8373d3af879b"}},{"ruleId":"D2","level":"warning","message":{"text":"FlashAttentionForwardSm100.kernel (cognitive 71): FlashAttentionForwardSm100.kernel has cognitive complexity 71 (threshold 15). Drivers by points: if/else 31 (46 pts), boolean chains 10, ternaries 7 (9 pts), loops 3 (6 pts) (nesting depth added 20). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb154a2ca1536d7930fd0f9384d80f928945f770bbadb1ac6485411cd98faa9"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_configlib.from_dict (cognitive 70): xai_configlib.from_dict has cognitive complexity 70 (threshold 15). Drivers by points: if/else 22 (56 pts), loops 3 (11 pts), boolean chains 3 (nesting depth added 42). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/common/xai-configlib/src/xai_configlib/__init__.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f483a574db5f4505831715a143e9eaf725f391ad6fa10b36890586312578a3"}},{"ruleId":"D2","level":"warning","message":{"text":"Account::write_to_out_protocol (cognitive 68): Account::write_to_out_protocol has cognitive complexity 68 (threshold 15). Drivers by points: if/else 68. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":6480}}}],"partialFingerprints":{"codehealthFindingId/v1":"434c6b1459368ad3fab213550b9307cf2a6c7f4e8d5b95a2a22278c042129a14"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::emb_table::load_tensor_into (cognitive 68): xai_recsys_engine::emb_table::load_tensor_into has cognitive complexity 68 (threshold 15). Drivers by points: if/else 19 (36 pts), loops 11 (24 pts), boolean chains 4, match/switch 1 (4 pts) (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0d24eeafd88fd2c454b66e6bebe6572f317ec03c8efece6ad3fc672d9bbf27"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskWriteSafetyPostAnnotationsResultSink._apply_labels_for_annotation (cognitive 68): TaskWriteSafetyPostAnnotationsResultSink._apply_labels_for_annotation has cognitive complexity 68 (threshold 15). Drivers by points: if/else 23 (60 pts), boolean chains 7, loops 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f5c2f0e9c4b94ba71a669e642976a4fb324839bc92de62f8a86fb01a486dc7"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::start_kafka_consumers (cognitive 67): crate::abuse-enforcement-service::service-lib::src::start_kafka_consumers has cognitive complexity 67 (threshold 15). Drivers by points: if/else 17 (36 pts), match/switch 8 (16 pts), loops 9 (14 pts), boolean chains 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":2973}}}],"partialFingerprints":{"codehealthFindingId/v1":"93aebd48dd6e2f19812a64d83eb4c61d1dd2c80f3fc2af3442b653cec0e0369b"}},{"ruleId":"D2","level":"warning","message":{"text":"score_results_sink_focal.main (cognitive 66): score_results_sink_focal.main has cognitive complexity 66 (threshold 15). Drivers by points: if/else 12 (34 pts), ternaries 4 (12 pts), loops 4 (11 pts), boolean chains 7, error handling 2 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5ea1e9bcee114b73d872e0d06d3c266d108c1f8082aad6e2dcc200fe31ff84"}},{"ruleId":"D2","level":"warning","message":{"text":"kafkaloader._unify_record_batch_schemas (cognitive 66): kafkaloader._unify_record_batch_schemas has cognitive complexity 66 (threshold 15). Drivers by points: if/else 17 (42 pts), loops 9 (15 pts), error handling 1 (5 pts), ternaries 1 (4 pts) (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"377a0c0a3c6b2b5f007de4941c8bdfa782895c5a8d7524324fa6a178e4b1f6ce"}},{"ruleId":"D2","level":"warning","message":{"text":"Conversation.to_openai_messages (cognitive 66): Conversation.to_openai_messages has cognitive complexity 66 (threshold 15). Drivers by points: if/else 11 (31 pts), loops 5 (17 pts), ternaries 3 (17 pts), boolean chains 1 (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/lm/convo.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c23bd571a0676e50bf24a854fee83ca02fd14edd498aef8f070e4c5a6a20525"}},{"ruleId":"D2","level":"warning","message":{"text":"Sender::handle_send (cognitive 63): Sender::handle_send has cognitive complexity 63 (threshold 15). Drivers by points: if/else 26 (44 pts), loops 6 (11 pts), boolean chains 5, match/switch 1 (3 pts) (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b4b1f10ce6bb00baf8b057399c78bde556c0ca6d84efb5c517cbe9c18e0dcd"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrievalDataset.load_corpus (cognitive 63): RetrievalDataset.load_corpus has cognitive complexity 63 (threshold 15). Drivers by points: if/else 18 (38 pts), ternaries 7 (19 pts), boolean chains 5, loops 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/retrieval_dataset.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5319a65ecf28a9208b022217dde1399bfd0d557a3b239f4b6bbd1ef44ddb9b"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationValue::write_to_out_protocol (cognitive 62): AnnotationValue::write_to_out_protocol has cognitive complexity 62 (threshold 15). Drivers by points: loops 29 (61 pts), match/switch 1 (nesting depth added 32). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":5387}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe7cea90bd4089e1cfacf2b4c712490cdf9fa074d8e8701c03d788f1bb7cda4"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTrainer._save_checkpoint_current_params (cognitive 61): RecsysTrainer._save_checkpoint_current_params has cognitive complexity 61 (threshold 15). Drivers by points: if/else 22 (37 pts), boolean chains 15, loops 2 (5 pts), ternaries 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":3638}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a23109258bd838feed9a860c6194b54161b2b7a7c0eefc428eb635f5fc38ed"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_parquet_recsys._block_shuffle_record_batches (cognitive 59): rust_parquet_recsys._block_shuffle_record_batches has cognitive complexity 59 (threshold 15). Drivers by points: if/else 20 (41 pts), ternaries 4 (9 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/rust_parquet_recsys.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"72feae557f10168437e78aad574a6abbb523d6dc304df0d9520acf2a43443040"}},{"ruleId":"D2","level":"warning","message":{"text":"PhoenixDataset.compute_max_steps (cognitive 58): PhoenixDataset.compute_max_steps has cognitive complexity 58 (threshold 15). Drivers by points: if/else 20 (30 pts), ternaries 6 (15 pts), boolean chains 11, loops 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2036}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0c735456ea34077035649fe6d9e30f32a0ca3058bf00620b142db29fa4b34c"}},{"ruleId":"D2","level":"warning","message":{"text":"PhoenixKafkaDataset._iterate_training_batches (cognitive 58): PhoenixKafkaDataset._iterate_training_batches has cognitive complexity 58 (threshold 15). Drivers by points: if/else 17 (45 pts), boolean chains 7, loops 2 (4 pts), error handling 1 (2 pts) (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"63211c6ac7348d675bfed337036c978c6ca826a1394d292332c0bc354fbcfa84"}},{"ruleId":"D2","level":"warning","message":{"text":"model_runner._loader_subprocess_main (cognitive 58): model_runner._loader_subprocess_main has cognitive complexity 58 (threshold 15). Drivers by points: if/else 12 (34 pts), error handling 6 (12 pts), loops 3 (8 pts), boolean chains 3, ternaries 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2ea26b04c51c4dd612659ae6584b028c55a92533713485adc61b9f11f2e4c6"}},{"ruleId":"D2","level":"warning","message":{"text":"recsys_batch.apply_negative_sampling (cognitive 57): recsys_batch.apply_negative_sampling has cognitive complexity 57 (threshold 15). Drivers by points: if/else 31 (39 pts), ternaries 6 (9 pts), loops 3 (5 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7dbdd511ebc221e55fe14b4db8637ca1377a997b71c8513d08b72104f42827"}},{"ruleId":"D2","level":"warning","message":{"text":"kafkaconsumer._consumer_poll_loop (cognitive 57): kafkaconsumer._consumer_poll_loop has cognitive complexity 57 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 6 (13 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"094ca5952562200c13d9b060bdc5e370df713bfb03e9a3da45f9e58c01de89b8"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::storage_util::find_latest_storage_checkpoint_async (cognitive 56): xai_recsys_engine::storage_util::find_latest_storage_checkpoint_async has cognitive complexity 56 (threshold 15). Drivers by points: if/else 23 (45 pts), loops 4 (7 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed221c43ac2362217e2347789f49e618508cab034eb1ed94fa90574b260bf7e2"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturesOfEventBusFanoutEvent.apply (cognitive 56): FeaturesOfEventBusFanoutEvent.apply has cognitive complexity 56 (threshold 15). Drivers by points: if/else 26 (49 pts), loops 1 (5 pts), boolean chains 2 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfEventBusFanoutEvent.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bd59df2803194720152d7beaca925db8a9d378c3316445b84876691022c7fd"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturesOfMediaUpdate.putTags (cognitive 56): FeaturesOfMediaUpdate.putTags has cognitive complexity 56 (threshold 15). Drivers by points: if/else 14 (43 pts), loops 2 (5 pts), boolean chains 4, ternaries 1 (4 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfMediaUpdate.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"62971a394d8f4ba8b4306307e4c2f63351d1d15e1689e56e5e394c30802128df"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskPublishUnifiedPostAnnotationsManhattan._exec (cognitive 55): TaskPublishUnifiedPostAnnotationsManhattan._exec has cognitive complexity 55 (threshold 15). Drivers by points: if/else 21 (33 pts), loops 4 (8 pts), boolean chains 7, ternaries 6 (7 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/task_write.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c66f280862f030b86ad8f42b2534257d55166997befb7ca5aaeba25ccec183"}},{"ruleId":"D2","level":"warning","message":{"text":"Safety::write_to_out_protocol (cognitive 54): Safety::write_to_out_protocol has cognitive complexity 54 (threshold 15). Drivers by points: if/else 54. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":9353}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6f5794308fb2c3113583da6575e9c874c10e3871ed76042108b1d16d06924a"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrievalBatchPrep::compute_batch_inputs_rust_quick (cognitive 53): RetrievalBatchPrep::compute_batch_inputs_rust_quick has cognitive complexity 53 (threshold 15). Drivers by points: if/else 31 (43 pts), boolean chains 10 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":2407}}}],"partialFingerprints":{"codehealthFindingId/v1":"5438322ca1e301243b3ddbcd4c65128f2a1ca5703431b0ada62ab2a806b6f627"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysAggregatedModel.metrics (cognitive 53): RecsysAggregatedModel.metrics has cognitive complexity 53 (threshold 15). Drivers by points: if/else 17 (32 pts), ternaries 5 (11 pts), loops 5 (7 pts), boolean chains 3 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":5546}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8ccc2d16083ea176ad79537c8cdc9676514c9a6af781ba95eabccdb1f1d24b"}},{"ruleId":"D2","level":"warning","message":{"text":"PostRenderer.render (cognitive 53): PostRenderer.render has cognitive complexity 53 (threshold 15). Drivers by points: if/else 24 (28 pts), boolean chains 11, loops 5 (10 pts), ternaries 3 (4 pts) (nesting depth added 10). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/lm/post.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc69df92f0a07e8e2a166453e7d75df6a062ab65f0c1b8c336f42379bd5ea211"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseSnapshotStore::start (cognitive 52): BaseSnapshotStore::start has cognitive complexity 52 (threshold 15). Drivers by points: if/else 11 (28 pts), match/switch 5 (16 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"9519561f8d3f8a8f3cf972480aeb95ca6c41388eb8db91158b41100462ff7c43"}},{"ruleId":"D2","level":"warning","message":{"text":"InputBuffer::compute_from_columnar_bytes (cognitive 52): InputBuffer::compute_from_columnar_bytes has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (28 pts), loops 7 (16 pts), boolean chains 7, match/switch 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd428beff4904e17e07b77d8a6af28069ebf7b98c8b8ad0b891a5088776749fe"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModelRunner._load_via_copy_port (cognitive 52): BaseModelRunner._load_via_copy_port has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (32 pts), loops 4 (7 pts), ternaries 4 (7 pts), boolean chains 6 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbde6d9d2fc9f1895b70f0367a4e14f35847f42859328aa3fda91e5dbc98831"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTrainer._write_shmem_checkpoint (cognitive 52): RecsysTrainer._write_shmem_checkpoint has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (33 pts), loops 4 (7 pts), boolean chains 6, error handling 1 (4 pts), ternaries 1 (2 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":3502}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0f57870a07654fa058c734c3c398d4cab718157500e782501877f4007d73e6"}},{"ruleId":"D2","level":"warning","message":{"text":"HoldGateConfig::from_config (cognitive 51): HoldGateConfig::from_config has cognitive complexity 51 (threshold 15). Drivers by points: if/else 11 (25 pts), match/switch 13 (18 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b88227223632c7deab3119d05c7b8fffcf824df52e943096b42cfe60a517b1"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModelRunner._coordinator_loop (cognitive 51): BaseModelRunner._coordinator_loop has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (43 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":1661}}}],"partialFingerprints":{"codehealthFindingId/v1":"570d3a015af223bd5579e68a43b0d737817ea24549402c4cd4546fb6d8cf6bc6"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrievalModelRunner.gather_embeddings_and_forward (cognitive 51): RetrievalModelRunner.gather_embeddings_and_forward has cognitive complexity 51 (threshold 15). Drivers by points: if/else 16 (29 pts), loops 3 (13 pts), boolean chains 4, ternaries 3, error handling 1 (2 pts) (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":5105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4260fe303169f638f34113ed1028309fe76279c545b0030f78db446c3b85355"}},{"ruleId":"D2","level":"warning","message":{"text":"checksum.compare_checksum_dicts (cognitive 51): checksum.compare_checksum_dicts has cognitive complexity 51 (threshold 15). Drivers by points: if/else 13 (29 pts), loops 7 (13 pts), error handling 2 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/training/xai-checkpointing/xai_checkpointing/checksum.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9153f3f54bf9e8412e7dfd2f3871a306fa7b6b4cdc7ee80fd8a51e173cb32f"}},{"ruleId":"D2","level":"warning","message":{"text":"image.build_motion_reveal_images (cognitive 50): image.build_motion_reveal_images has cognitive complexity 50 (threshold 15). Drivers by points: if/else 20 (31 pts), loops 8 (11 pts), ternaries 3 (6 pts), boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/image.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"6776d6c6de7efc8e9b901ae4e72bf07c42755e4897160a4de57d05f68f2f718c"}},{"ruleId":"D2","level":"warning","message":{"text":"UthReferenceMonthMhPublisherApp.buildReference (cognitive 49): UthReferenceMonthMhPublisherApp.buildReference has cognitive complexity 49 (threshold 15). Drivers by points: if/else 26, loops 10 (22 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthReferenceMonthMhPublisherJob.scala"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edb45ad33b1a2d9d676ee89b0b98b1ffea30cd71d2b93d3c845808ec86fd998"}},{"ruleId":"D2","level":"warning","message":{"text":"InterleavingRecordBatchProvider._get_record_batches_block_shuffle (cognitive 49): InterleavingRecordBatchProvider._get_record_batches_block_shuffle has cognitive complexity 49 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 4 (11 pts), ternaries 4 (8 pts), boolean chains 3 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a2e0fcd81680e56da9639249c4a9c19a45affb4854707c0a8c5f8d561a32c9"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModelRunner._init_hotswap_buffers (cognitive 49): BaseModelRunner._init_hotswap_buffers has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (22 pts), loops 6 (15 pts), boolean chains 6, ternaries 3 (5 pts), error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"160482032b947e69f8f486b66329a8a586b5107413b60e45765d316d55b8752c"}},{"ruleId":"D2","level":"warning","message":{"text":"Transformer.__call__ (cognitive 49): Transformer.__call__ has cognitive complexity 49 (threshold 15). Drivers by points: if/else 21 (36 pts), boolean chains 7, ternaries 4, loops 1 (2 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/transformer.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e343e13038ea00bdf591654adcc62acc973fab15d7de85cb00302dd756a873"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturesOfAuthCompletion.putLoginToMap (cognitive 48): FeaturesOfAuthCompletion.putLoginToMap has cognitive complexity 48 (threshold 15). Drivers by points: if/else 48. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f2523ed5ecb7deb7679acd3e7d2fc71b940678add4604c2fcdf45fdbf3de3a"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionControl::set_unlocked (cognitive 47): ActionControl::set_unlocked has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (23 pts), match/switch 9 (13 pts), boolean chains 7, loops 3 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":2142}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5a6ba51714fcf4885bcb38652b0639bf73145d69338a99c235eabc2d409dae"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalysisProcessor::process_batch (cognitive 47): AnalysisProcessor::process_batch has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (26 pts), match/switch 6 (16 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/analysis_processor.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b706a89ba8fa91fd9d11554b1439b9ca54126aabc7f02619969cef6009b3e0"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::ads::multi_risk_blender::blend_with_drops (cognitive 47): crate::home-mixer::ads::multi_risk_blender::blend_with_drops has cognitive complexity 47 (threshold 15). Drivers by points: if/else 20 (31 pts), boolean chains 7, loops 5 (6 pts), match/switch 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/multi_risk_blender.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb9b7f07422c68efdbe18b467d587efe1d2aae84e78100316c1710ace7d3a3f"}},{"ruleId":"D2","level":"warning","message":{"text":"abuse_v3_features::extract_batch (cognitive 47): abuse_v3_features::extract_batch has cognitive complexity 47 (threshold 15). Drivers by points: if/else 10 (30 pts), loops 6 (11 pts), boolean chains 4, match/switch 1 (2 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/abuse-v3-features/src/lib.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"606d661ecae17832a317aa9549dcc6fc089f1b474b3dcb6f9f5ad70b2b6e13e6"}},{"ruleId":"D2","level":"warning","message":{"text":"ranker_attention_varlen_fa4._build_packed_block_sparse (cognitive 47): ranker_attention_varlen_fa4._build_packed_block_sparse has cognitive complexity 47 (threshold 15). Drivers by points: if/else 17 (25 pts), loops 10 (16 pts), boolean chains 4, ternaries 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21eb3f67b9800b3dc9ca8752f811101b73b9c33c0593dc4e395a0523d69f431"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseSnapshotStore::load_existing_data (cognitive 46): BaseSnapshotStore::load_existing_data has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 3 (10 pts), match/switch 3 (10 pts), boolean chains 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3c0f27428519eb616730dfa2ccc73831e0949619f0d5947b3ab3adf21ead73"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrievalInputBuffer::compute_from_columnar_bytes (cognitive 46): RetrievalInputBuffer::compute_from_columnar_bytes has cognitive complexity 46 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 6 (14 pts), boolean chains 1, match/switch 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/util.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ef78d74f45b100aeab729a23817c40ebd94c6bbd050be2f731a0180e63de25"}},{"ruleId":"D2","level":"warning","message":{"text":"jax_extensions._find_no_barrier_inputs (cognitive 46): jax_extensions._find_no_barrier_inputs has cognitive complexity 46 (threshold 15). Drivers by points: if/else 9 (30 pts), loops 4 (13 pts), boolean chains 3 (nesting depth added 30). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/jax_extensions.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ce88d08d67cdde998b1e3f075c64c5002b016d3d75a99c3ee474dd34c9fbf0"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::emb_table::maybe_load_fully_replicated_tensors (cognitive 45): xai_recsys_engine::emb_table::maybe_load_fully_replicated_tensors has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (33 pts), loops 6 (8 pts), boolean chains 3, match/switch 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a04a7cd1b14ef5c7b208999b6030d0fb7bcef174b6e8075764287ba0f59fe7"}},{"ruleId":"D2","level":"warning","message":{"text":"checkpoint_storage.load_checkpoint_from_storage (cognitive 44): checkpoint_storage.load_checkpoint_from_storage has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (28 pts), loops 7 (10 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/checkpoint_storage.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb2afb8d523c2084ffe10d58ef9c0f3a8ec051013cccf51a898eda10b58cbb8"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModelRunner._finalize_hot_swap (cognitive 44): BaseModelRunner._finalize_hot_swap has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (26 pts), boolean chains 7, loops 4 (6 pts), error handling 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":1907}}}],"partialFingerprints":{"codehealthFindingId/v1":"1795390fffd65a2b55943b9a8c1d8eb5f369c812919c46b20d71c0ed0715b704"}},{"ruleId":"D2","level":"warning","message":{"text":"V8SearchEmbedPostRenderer.render_for_embedding (cognitive 44): V8SearchEmbedPostRenderer.render_for_embedding has cognitive complexity 44 (threshold 15). Drivers by points: if/else 14 (25 pts), ternaries 5 (12 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v8_search.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"544a334695b010af52955ee809f5e7d9806eb1c41db792e360d9d616f5707a20"}},{"ruleId":"D2","level":"warning","message":{"text":"PhoenixKafkaDataset.make (cognitive 43): PhoenixKafkaDataset.make has cognitive complexity 43 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 12, error handling 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e971102639cd8f122f146437f191468e14de07ee652738aa67ad95645f9a35"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit2O11.createASTNode (cognitive 42): FunctionUnit2O11.createASTNode has cognitive complexity 42 (threshold 15). Drivers by points: if/else 39 (42 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11271}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b08a1330485b44859d71fe8c1478a51f110c471a19349ffb850809385603ed"}},{"ruleId":"D2","level":"warning","message":{"text":"HistoryUrlEmbeddingLookup._lookup (cognitive 42): HistoryUrlEmbeddingLookup._lookup has cognitive complexity 42 (threshold 15). Drivers by points: if/else 14 (26 pts), loops 5 (10 pts), boolean chains 3, ternaries 1 (2 pts), error handling 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/history_url_embedding.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd53a93f64a96082b7a259b29752e0acf26a36ab27ca7db410c0fff692615001"}},{"ruleId":"D2","level":"warning","message":{"text":"recsys_feature_prep._add_history_features (cognitive 42): recsys_feature_prep._add_history_features has cognitive complexity 42 (threshold 15). Drivers by points: if/else 17 (30 pts), boolean chains 8, loops 2 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_feature_prep.py"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9255440bb0c3af2fe253b97bcc4809797c8585cc18ce5e02bf70087a26b8318"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionControl::validate (cognitive 41): ActionControl::validate has cognitive complexity 41 (threshold 15). Drivers by points: if/else 22 (23 pts), boolean chains 16, loops 1, match/switch 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcfef1a5716d84df15c1c2c01cfd9a452f540b457eb44e0e52b2db19fd11b0c"}},{"ruleId":"D2","level":"warning","message":{"text":"TweetEventData::read_from_in_protocol (cognitive 41): TweetEventData::read_from_in_protocol has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (38 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet_events.rs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4c0c4d199332820a904aba5de7a6d44783743ec611b3f155f1bfe2e49ba53e"}},{"ruleId":"D2","level":"warning","message":{"text":"User::write_to_out_protocol (cognitive 41): User::write_to_out_protocol has cognitive complexity 41 (threshold 15). Drivers by points: if/else 41. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":14538}}}],"partialFingerprints":{"codehealthFindingId/v1":"d873b5f469f8cff84da5295d1ca897358da57e4565fc354f1f3288ec33f16cb0"}},{"ruleId":"D2","level":"warning","message":{"text":"abuse_v3_features::get_i32 (cognitive 41): abuse_v3_features::get_i32 has cognitive complexity 41 (threshold 15). Drivers by points: if/else 19 (40 pts), match/switch 1 (nesting depth added 21). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/abuse-v3-features/src/lib.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"95204f3d730cd3d3ef75ec0aa9e58fdabceed8c3c8bba9c7e76f5b35d562aa03"}},{"ruleId":"D2","level":"warning","message":{"text":"InputBuffer::compute_for_item (cognitive 41): InputBuffer::compute_for_item has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 5 (11 pts), match/switch 3 (6 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"5397d4c00cca4e46b19809358ed8db90fad8c4c3fed1ee462a759e5018921444"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrievalInputBuffer::compute_for_item (cognitive 41): RetrievalInputBuffer::compute_for_item has cognitive complexity 41 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 6 (13 pts), match/switch 4 (7 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/util.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"663bbde9c8fc1173e743dfb9a907f21b2da371ea8f0325f5bab68393fd0677f4"}},{"ruleId":"D2","level":"warning","message":{"text":"FlashAttentionForwardSm100.__init__ (cognitive 41): FlashAttentionForwardSm100.__init__ has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 16, if/else 13 (15 pts), ternaries 8 (10 pts) (nesting depth added 4). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"556b473e2aabd8b6a23ad406e60b3b324d993ea873309e8a85753716d234d8b3"}},{"ruleId":"D2","level":"warning","message":{"text":"InterleavingRecordBatchProvider._get_ready_batches_from_index (cognitive 41): InterleavingRecordBatchProvider._get_ready_batches_from_index has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 5, loops 3 (5 pts), error handling 1 (4 pts), ternaries 2 (4 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6214bd6fe4691095f12e0303403b5161f3296a8209932f5f5ed205fb648ebb0"}},{"ruleId":"D2","level":"warning","message":{"text":"PostStore::insert_posts_internal (cognitive 40): PostStore::insert_posts_internal has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 5 (12 pts), boolean chains 3 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/posts/post_store.rs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"405738d822d4122cf07694f622b413c32198c759f0c4655472771f9db6fa001c"}},{"ruleId":"D2","level":"warning","message":{"text":"RustParquetDataset._record_batches (cognitive 40): RustParquetDataset._record_batches has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 8, ternaries 3 (4 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/rust_parquet_recsys.py"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4693ca64ced5080a263d6e25374f99b0a984edf43892a8cf17b5a2f042ba556"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::thunder::kafka::tweet_events_listener_v2::process_tweet_events_v2 (cognitive 39): crate::thunder::kafka::tweet_events_listener_v2::process_tweet_events_v2 has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (32 pts), match/switch 2 (6 pts), loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/kafka/tweet_events_listener_v2.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a1828ad5a24b7fd4fd892f83f76464a01f42ab00b43dbe2345a8f9ce628861"}},{"ruleId":"D2","level":"warning","message":{"text":"sequence_packing.pack_batch (cognitive 39): sequence_packing.pack_batch has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (24 pts), ternaries 3 (7 pts), boolean chains 6, loops 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/sequence_packing.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e134e06d374a0e251fc1c33975084460d43804f1613ace9a93d7fae81954c1"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_configlib.replace_recursive (cognitive 39): xai_configlib.replace_recursive has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (31 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/common/xai-configlib/src/xai_configlib/__init__.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e32e9bc8f7311259a7576172e746e0522752398dda9dc5c1bc39e24d964985"}},{"ruleId":"D2","level":"warning","message":{"text":"PhoenixKafkaDataset.kafka_to_training_batch (cognitive 38): PhoenixKafkaDataset.kafka_to_training_batch has cognitive complexity 38 (threshold 15). Drivers by points: if/else 21 (29 pts), boolean chains 5, ternaries 3 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbd1ae25dc6117add776c0a16422477850bc3c2c6408d5bb0620d29a9c097a3"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysAggregatedModel._compute_metrics_after_masks (cognitive 38): RecsysAggregatedModel._compute_metrics_after_masks has cognitive complexity 38 (threshold 15). Drivers by points: loops 10 (17 pts), if/else 10 (14 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":2601}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d3235f873fdb344a36622bb94e4ca0c36fa361b2fad3662881d71119f9ae7b"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaLoader.hydrate_video (cognitive 38): MediaLoader.hydrate_video has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 7, ternaries 2 (5 pts), error handling 2 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f50f02636ae3114d15ac13a09634e385776f8abf6bd4dada216dd6c5ada312"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::ads::partition_organic_blender::blend_impl (cognitive 37): crate::home-mixer::ads::partition_organic_blender::blend_impl has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (29 pts), loops 5 (6 pts), boolean chains 2 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/partition_organic_blender.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7decfd9dcb40503fcb5ac624611f6090862c563f26caf5fa59004ad4dc0b7e"}},{"ruleId":"D2","level":"warning","message":{"text":"ThriftUtil.removeSetField (cognitive 37): ThriftUtil.removeSetField has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (30 pts), match/switch 3 (7 pts) (nesting depth added 20). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/util/ThriftUtil.scala"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1251010a01e474a6f45f2900fb23f7b98bfd46099f51bfd319eb53ef404557"}},{"ruleId":"D2","level":"warning","message":{"text":"mm_encoder._process_cardv2 (cognitive 37): mm_encoder._process_cardv2 has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 2 (5 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/mm_encoder.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d80cdd63a782d33d1cd7402cd7e71dcbda189eb8ca92498f916c824b431346c"}},{"ruleId":"D2","level":"warning","message":{"text":"hooks._checkpoint_cleaner (cognitive 37): hooks._checkpoint_cleaner has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 5 (8 pts), error handling 2 (6 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"4715a766f6a050403f9bf3de9ed6174b7a817b9a0c2586e546e41f3897a7408e"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysAggregatedModelConfig.validate_purchase_value (cognitive 37): RecsysAggregatedModelConfig.validate_purchase_value has cognitive complexity 37 (threshold 15). Drivers by points: if/else 22 (31 pts), boolean chains 6 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"474acbba6663a3af4d8100dab21d16ab33a0122c7c3a5b33f0552f1a0b4b23cd"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTwoTowerModel.forward (cognitive 37): RecsysTwoTowerModel.forward has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 10 (14 pts), if/else 10 (11 pts), boolean chains 7, loops 3 (5 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_two_tower_model.py"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9424b6523407f7fa13b5a13d9d80d6c1dbea86647ad05e9f06ef6916beda4909"}},{"ruleId":"D2","level":"warning","message":{"text":"recsys_bundle_export._retrieval_export (cognitive 37): recsys_bundle_export._retrieval_export has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 6, ternaries 3, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/recsys_bundle_export.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e228ef49044e18d049bf14a7c0a36e28637a59e02a2b94ae0c26c1e73ac226"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_configlib.cast_type (cognitive 37): xai_configlib.cast_type has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (21 pts), error handling 3 (8 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/common/xai-configlib/src/xai_configlib/__init__.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16c664019dcfa373c51be24f4d5beaceedbc9b88ce0d50d1dab07d502295e37"}},{"ruleId":"D2","level":"warning","message":{"text":"V5EmbedPostRenderer._process_cardv2 (cognitive 37): V5EmbedPostRenderer._process_cardv2 has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (32 pts), loops 2 (5 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"462b2887c97043bc9ace76d8f75bfe35a4b182e98d01402a8d3087f12587f707"}},{"ruleId":"D2","level":"warning","message":{"text":"RemoteSource::get (cognitive 36): RemoteSource::get has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 7 (11 pts), boolean chains 5, loops 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"safety-label-source/remote.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63a53b30f1403579321331141d412c75808278cffe2110149d9813f91f08138"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit2O9.createASTNode (cognitive 36): FunctionUnit2O9.createASTNode has cognitive complexity 36 (threshold 15). Drivers by points: if/else 33 (36 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9263}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74015f99fc32baa5d1f0602af95671b971ad84d42cf98d0ed83d360d922b2f3"}},{"ruleId":"D2","level":"warning","message":{"text":"manhattan_arrow_adapter.arrow_bytes_to_batch (cognitive 36): manhattan_arrow_adapter.arrow_bytes_to_batch has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (20 pts), loops 5 (8 pts), ternaries 2 (4 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/manhattan_arrow_adapter.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3c2f9f85b02464171daf1b7858cb4d5c801f264fd6b2af60625ff5920e9706"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysAggregatedModel.embed_categorical_context_features (cognitive 36): RecsysAggregatedModel.embed_categorical_context_features has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (30 pts), boolean chains 5, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":3225}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f0ab12643bfcf20668f4e9fd1852d0ed28941ae4460d397a81114274e2ecb6"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTrainer.dataset_with_prepare (cognitive 36): RecsysTrainer.dataset_with_prepare has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"58daf567d0ea63f08b46d4a70a479bf50a78d39bd855f9b8a048cc835153ad1d"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceEmitter::new_active (cognitive 35): TraceEmitter::new_active has cognitive complexity 35 (threshold 15). Drivers by points: match/switch 6 (13 pts), if/else 5 (12 pts), loops 6 (10 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/trace.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc676c24cb2ca9ef5a67d524457a8bbf9f4ac218b432e5eb30cb46666e63d3e"}},{"ruleId":"D2","level":"warning","message":{"text":"mm_encoder._render_single_post (cognitive 35): mm_encoder._render_single_post has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/mm_encoder.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8010c9229bb3de543ee2eb6b8ad48190b77e82eb29a6416d171e33f0fd646945"}},{"ruleId":"D2","level":"warning","message":{"text":"InterleavingRecordBatchProvider._get_record_batches_synced (cognitive 35): InterleavingRecordBatchProvider._get_record_batches_synced has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (21 pts), ternaries 2 (8 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"0872c88b8d53b8aba866d4fb9ee05c0058a6c2237faad041588546836c5274f4"}},{"ruleId":"D2","level":"warning","message":{"text":"recsys_feature_prep._add_context_features (cognitive 35): recsys_feature_prep._add_context_features has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (31 pts), boolean chains 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_feature_prep.py"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25350150a2476b5305b80071cb8d59d897e00e16a5c815c577aa88ea4737e2e"}},{"ruleId":"D2","level":"warning","message":{"text":"V5EmbedPostRenderer._render_single_post (cognitive 35): V5EmbedPostRenderer._render_single_post has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"54100b142228ea0cd821da1ee848fba77451e4629572e13b4a6180f85b565e7c"}},{"ruleId":"D2","level":"warning","message":{"text":"TweetTypeMetricsHydrator::create_tweet_type_bitset (cognitive 34): TweetTypeMetricsHydrator::create_tweet_type_bitset has cognitive complexity 34 (threshold 15). Drivers by points: if/else 29 (32 pts), boolean chains 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/tweet_type_metrics_hydrator.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb16e5bedb0cb322822bfdf4c4c658a52effae2af1e1b12c3f45f78482ca3095"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::visibility-filtering::rules::engine::fold_from (cognitive 34): crate::visibility-filtering::rules::engine::fold_from has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (26 pts), boolean chains 7, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/engine.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e88e32e98f8212e31e763d24a73f9745823d2cdb67996ab9bfed4d677dbec87"}},{"ruleId":"D2","level":"warning","message":{"text":"abuse_v3_features::derived::compute_derived (cognitive 34): abuse_v3_features::derived::compute_derived has cognitive complexity 34 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 7, loops 3 (6 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/abuse-v3-features/src/derived.rs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa2c296da85b31d6cc47e5003d50445a20a1c111e74a0832b6770be94f8bec3"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturesOfExploreClientEvent.apply (cognitive 34): FeaturesOfExploreClientEvent.apply has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (32 pts), loops 1 (2 pts) (nesting depth added 23). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfExploreClientEvent.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa009ab27b1333207009f49c22ce3c0db33d5d5705eea238346455ecaa9d923"}},{"ruleId":"D2","level":"warning","message":{"text":"HoldGate::evaluate (cognitive 33): HoldGate::evaluate has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (22 pts), match/switch 7 (9 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82d33a1aaf56e296be4f9eb1545f61a1eb0eddbd39c3fab50c398ed45e99cc0"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::abuse-enforcement-service::types::src::allowlist::parse_bulk_input (cognitive 33): crate::abuse-enforcement-service::types::src::allowlist::parse_bulk_input has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (23 pts), match/switch 3 (8 pts), boolean chains 1, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/types/src/allowlist.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e5047d383acacc41a198e7bfe57f6d0a1546e1ec257d821f23aa3b2adac291"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit.codeGen (cognitive 33): FunctionUnit.codeGen has cognitive complexity 33 (threshold 15). Drivers by points: if/else 23 (30 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnit.scala"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4547caeaa32583feb1ffac8b6e1178f98ca4cdff5754b1f505e8130eedeaef48"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit2O8.createASTNode (cognitive 33): FunctionUnit2O8.createASTNode has cognitive complexity 33 (threshold 15). Drivers by points: if/else 30 (33 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (FunctionUnit3O8.createASTNode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10883}}}],"partialFingerprints":{"codehealthFindingId/v1":"4769717c3c1e4ae0efe170e9ff545a01d39fd9888a37b1085ab381161d649567"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit3O8.createASTNode (cognitive 33): FunctionUnit3O8.createASTNode has cognitive complexity 33 (threshold 15). Drivers by points: if/else 30 (33 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (FunctionUnit2O8.createASTNode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":12299}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e650d7d24e29b34b5d8c2f45712eb4501e26b6a70457e031eab3cd61d5ecfd7"}},{"ruleId":"D2","level":"warning","message":{"text":"FlashAttentionForwardSm100.epilogue_s2g (cognitive 33): FlashAttentionForwardSm100.epilogue_s2g has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (13 pts), ternaries 1 (5 pts), boolean chains 2 (nesting depth added 20). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":2741}}}],"partialFingerprints":{"codehealthFindingId/v1":"937aba56da6cdeeaa6d033603d2c064156118e3fc4d8f6aa27e223c7f82a9a89"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModelRunner._load_via_nfs (cognitive 33): BaseModelRunner._load_via_nfs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 3, error handling 2, loops 1 (2 pts), ternaries 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c07993b21ddda323d37899c0f3edfed8761af7f22a945698f60ce7db1225561"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTrainer.maybe_build_retrieval_post_embeddings (cognitive 33): RecsysTrainer.maybe_build_retrieval_post_embeddings has cognitive complexity 33 (threshold 15). Drivers by points: if/else 20 (24 pts), loops 3 (5 pts), ternaries 3, boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":4168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39fbdff7901af330a4236f1da1d575a31ae4acd31f3e6eab5591eb728e9c4bf"}},{"ruleId":"D2","level":"warning","message":{"text":"AdsBrandSafetyVfHydrator::hydrate (cognitive 32): AdsBrandSafetyVfHydrator::hydrate has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (25 pts), loops 3 (4 pts), match/switch 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/ads_brand_safety_vf_hydrator.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4687630639fddeaa9e935756a2d58bf7786b49a6bc8aa497ecf294e8b73b31c5"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncRateLimiter.apply (cognitive 32): AsyncRateLimiter.apply has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 2 (6 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/common/AsyncRateLimiter.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb011fe3e602a551fa7f32260b1806fe4076a6effd063e8bc89e8b48933b7b70"}},{"ruleId":"D2","level":"warning","message":{"text":"parquet_recsys._block_resume_window (cognitive 32): parquet_recsys._block_resume_window has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 7, loops 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8699dd8e550e72858e33bc65ba833828c54dc95e6352cbb791da8d00772189"}},{"ruleId":"D2","level":"warning","message":{"text":"recsys_batch.apply_global_negative_sampling (cognitive 32): recsys_batch.apply_global_negative_sampling has cognitive complexity 32 (threshold 15). Drivers by points: if/else 27 (30 pts), boolean chains 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":2121}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b1bb05c5da2d8f458ee156510dd70a0cfe259cc78b78657c5a018a347dc716"}},{"ruleId":"D2","level":"warning","message":{"text":"kafkaconsumer.consume_messages (cognitive 32): kafkaconsumer.consume_messages has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 10, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"65db5fa3d9f3c1b005f04e6d6f84d8062ca0e6b23e3cf30b0ffe30e4cdd0afdd"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysAggregatedModel.decode_continuous (cognitive 32): RecsysAggregatedModel.decode_continuous has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 3 (5 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":3590}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34cbd9277385c46751407d04bd7d2a65b4b75c0cd291bb09ff3196551e36245"}},{"ruleId":"D2","level":"warning","message":{"text":"checkpointing.save_checkpoint (cognitive 32): checkpointing.save_checkpoint has cognitive complexity 32 (threshold 15). Drivers by points: if/else 19 (26 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/checkpointing.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa8d907d5d7cd430ca4a635b2556b8ec4310f6992081299063491c21cb6eb9e"}},{"ruleId":"D2","level":"warning","message":{"text":"CachedHydrator::hydrate_cached (cognitive 31): CachedHydrator::hydrate_cached has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 3 (6 pts), match/switch 1 (2 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/hydrator.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca29c61b0d141804802800a56608d24c5c4f0a95f4bbaae8dd434c672c085f0"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::vm-ranker::dpp::greedy_dpp (cognitive 31): crate::vm-ranker::dpp::greedy_dpp has cognitive complexity 31 (threshold 15). Drivers by points: loops 7 (15 pts), if/else 6 (13 pts), match/switch 2, boolean chains 1 (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vm-ranker/dpp.rs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fc210fac46a40de00d28e875f99c62490b0416a065967ba52163941e1b6b75"}},{"ruleId":"D2","level":"warning","message":{"text":"score_results_sink_focal._publish_score_result (cognitive 31): score_results_sink_focal._publish_score_result has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 3 (6 pts), boolean chains 5, error handling 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a36528a22a85cc566c5c60bb3efe8bcfa6da4c417b46ac7308ab67f4d9274ea"}},{"ruleId":"D2","level":"warning","message":{"text":"score_results_sink_focal._apply_scoring_cooldowns (cognitive 31): score_results_sink_focal._apply_scoring_cooldowns has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (6 pts), error handling 2 (4 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"4686153df17ab10fad127626a2ede5286140d0a6eba18d9f87650ff56cde68c4"}},{"ruleId":"D2","level":"warning","message":{"text":"kafkaconsumer._consume_multi_consumer (cognitive 31): kafkaconsumer._consume_multi_consumer has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 5 (6 pts), boolean chains 3, ternaries 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afbec8e188cfecc4a12029eb2f8e6994bce2b12d282fa5adbf712cbd38c616f"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskASRTranscription._exec_with_post (cognitive 31): TaskASRTranscription._exec_with_post has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14 (28 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task_asr.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f042a79232f37369165d692f1aa80ebaadc2a9fd6d7165a0c23a4d4af08d3108"}},{"ruleId":"D2","level":"warning","message":{"text":"PredictRequestBatch::reply (cognitive 30): PredictRequestBatch::reply has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ffeccf94342db11c26a0c680a831472d342eeb850251bf6fa804c4bd7700df"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit4O7.createASTNode (cognitive 30): FunctionUnit4O7.createASTNode has cognitive complexity 30 (threshold 15). Drivers by points: if/else 27 (30 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (FunctionUnit2O7.createASTNode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9687}}}],"partialFingerprints":{"codehealthFindingId/v1":"6681fc7207886805c7fea5f702612440a2b0a81ee56b03d9c67139104fc92ac7"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit2O7.createASTNode (cognitive 30): FunctionUnit2O7.createASTNode has cognitive complexity 30 (threshold 15). Drivers by points: if/else 27 (30 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: one other method here (FunctionUnit4O7.createASTNode) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10550}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd1ba2cd091bd591592268746260eaa7082e9c8bbe038ceb09d901dd88b8676"}},{"ruleId":"D2","level":"warning","message":{"text":"UthUserMonthMhPublisherApp.assembleUserMonths (cognitive 30): UthUserMonthMhPublisherApp.assembleUserMonths has cognitive complexity 30 (threshold 15). Drivers by points: loops 11 (27 pts), if/else 2, boolean chains 1 (nesting depth added 16). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthUserMonthMhPublisherJob.scala"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d4244b2a064df1139195e3f4455c4fe7120ce9d5d2c491ace74539afbb6aff"}},{"ruleId":"D2","level":"warning","message":{"text":"InterleavingRecordBatchProvider._drain_files (cognitive 30): InterleavingRecordBatchProvider._drain_files has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 4 (9 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"72071a66599fd014af9cada30305a54035caf55ca2ddee9c2df111426386ee30"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModelRunner._follower_coordinator_loop (cognitive 30): BaseModelRunner._follower_coordinator_loop has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (16 pts), error handling 3 (6 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":1812}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2a74dd11ecb05b31e03b2b72b38a66cedcd3218ba09f691c4de9e809a73c7b"}},{"ruleId":"D2","level":"warning","message":{"text":"PriorityTaskGenerator._poll (cognitive 30): PriorityTaskGenerator._poll has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (21 pts), error handling 2 (6 pts), loops 2 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/generators/task_generator.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b14564d44b4389a5045757dbc9f274fb3ea1e4a020860ad8d3d6453ccbe6308"}},{"ruleId":"D2","level":"warning","message":{"text":"Pipeline::run_loop (cognitive 29): Pipeline::run_loop has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (22 pts), match/switch 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/pipeline/mod.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3602caa1c65f7b8275096be2cc7e093d17fc71334fadc2ba6fba897a8adbb0"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationControl::read_from_in_protocol (cognitive 29): ConversationControl::read_from_in_protocol has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (26 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":4735}}}],"partialFingerprints":{"codehealthFindingId/v1":"5999c67cbd41dfdac8a1b4b6bbd8052577aaa90817c6ad27627a44bd0f06ba8d"}},{"ruleId":"D2","level":"warning","message":{"text":"Store::join (cognitive 29): Store::join has cognitive complexity 29 (threshold 15). Drivers by points: if/else 4 (14 pts), match/switch 3 (9 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/store.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"d595a61e494dd6a6fcb313c1877ca8554437d9ecc644cbeb4dc380f3c96e47e4"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturesOfAuthCompletion.putPasswordResetToMap (cognitive 29): FeaturesOfAuthCompletion.putPasswordResetToMap has cognitive complexity 29 (threshold 15). Drivers by points: if/else 29. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d63b02bc9aae6fba8a805b8d62a211c135437d8a8cddeed3a67cc04c53b7e87"}},{"ruleId":"D2","level":"warning","message":{"text":"Compiler.createASTNodeTree (cognitive 29): Compiler.createASTNodeTree has cognitive complexity 29 (threshold 15). Drivers by points: loops 4 (11 pts), if/else 5 (7 pts), ternaries 2 (7 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af601b718a3c8a568da26729eccdbdf4072b8189cd57e060deefa4336bc39d9"}},{"ruleId":"D2","level":"warning","message":{"text":"score_results_sink_focal._cusp_lane (cognitive 29): score_results_sink_focal._cusp_lane has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 7, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd81767167df3223b00486af016560c7577a5be227203b3604750ce7e3e10566"}},{"ruleId":"D2","level":"warning","message":{"text":"ranker_attention_varlen_fa4.varlen_kernels (cognitive 29): ranker_attention_varlen_fa4.varlen_kernels has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 5 (9 pts), boolean chains 5 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9a13c865333dae17ae2da6c7a309c501d5353293932802e34ebab857315f47"}},{"ruleId":"D2","level":"warning","message":{"text":"reply_features.place_focal_post (cognitive 29): reply_features.place_focal_post has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 4 (13 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/reply_features.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"16852f7ba484ddff2d3e91700303ffab1878a4892fa4132c854b5a05d43bdeb5"}},{"ruleId":"D2","level":"warning","message":{"text":"sequence_packing.fit_sample_budget (cognitive 29): sequence_packing.fit_sample_budget has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 4 (10 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/sequence_packing.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a54ec4cbcd4aa2b35ca1ff433f72d1d0de5a8fb3ab8832b8084f44370a6cab3"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskWriteSafetyPostAnnotationsResultSink._exec (cognitive 29): TaskWriteSafetyPostAnnotationsResultSink._exec has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 5, loops 2 (5 pts), ternaries 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8228c05fd82f3dd32fb559142c8cf20d3ce5bf301edfe451069461d23b8e14"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::service::enforce_action (cognitive 28): crate::abuse-enforcement-service::service-lib::src::service::enforce_action has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 1 (3 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3402876e26e3c7c96da5338e4f03676115903fa47b9831262f8a03d527269b0"}},{"ruleId":"D2","level":"warning","message":{"text":"ExperimentalApproximateCosineSimilarity.apply (cognitive 28): ExperimentalApproximateCosineSimilarity.apply has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 1 (3 pts), boolean chains 2, match/switch 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclustersann/candidate_source/ExperimentalApproximateCosineSimilarity.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"448604fc642e74b468ba343e675c5be3e07c3a96ca414ff3422e0ec91ff3526e"}},{"ruleId":"D2","level":"warning","message":{"text":"18.toScript (cognitive 28): 18.toScript has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b08370e939d2ce9f686de76eca71b11fabc0394147490cc9521a76c57b43ec2"}},{"ruleId":"D2","level":"warning","message":{"text":"kafkaconsumer.validate_offset_map (cognitive 28): kafkaconsumer.validate_offset_map has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac488eab09a2d9576f8e07ca97877a25442f70b456ea2bfb8c5944cb37c769d1"}},{"ruleId":"D2","level":"warning","message":{"text":"launch_multi_inference.build_worker_cmd (cognitive 28): launch_multi_inference.build_worker_cmd has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (25 pts), loops 2, boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"210b0192ea84abb85468746d4be4dc3a450926ccfc042ed53527dbd8fd5c7453"}},{"ruleId":"D2","level":"warning","message":{"text":"id_list_fill_stats.main (cognitive 28): id_list_fill_stats.main has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (16 pts), loops 4 (8 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/tools/id_list_fill_stats.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"877c916a803ac878897b86ff52b3e9fc3117f3fc9555143f1066bec7fb214899"}},{"ruleId":"D2","level":"warning","message":{"text":"log_util.configure_logging (cognitive 28): log_util.configure_logging has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 4 (5 pts), boolean chains 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/log_util.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2927a2d08e7ce52688a69b7f992d2ce27f9591d82392d15ce37f46b5627cf8fa"}},{"ruleId":"D2","level":"warning","message":{"text":"training.train (cognitive 28): training.train has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (4 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clip/training.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f365984ec61f9f8aa17d7c18ad0312de6c305f9839284c3d91cff1604055769"}},{"ruleId":"D2","level":"warning","message":{"text":"Post.from_post_metadata (cognitive 28): Post.from_post_metadata has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16, ternaries 12. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/data_types.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"969aeff3ed29dbbab6f587e68f8d0db77c70f06cc62eb5e346937d2d7c42fa99"}},{"ruleId":"D2","level":"warning","message":{"text":"Backfill::change (cognitive 27): Backfill::change has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 5, match/switch 3 (4 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae0bbd3799d37a21ff9803adc44a45180b5465164b83acddbe360e850f15959"}},{"ruleId":"D2","level":"warning","message":{"text":"TopicIdsFilter::filter (cognitive 27): TopicIdsFilter::filter has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 3 (8 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/filters/topic_ids_filter.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"92040e70ebecbf85b681b86fb77b3a301175085e3b920309b9b64602f141651b"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::action_control::harsher_because (cognitive 27): crate::abuse-enforcement-service::service-lib::src::action_control::harsher_because has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (15 pts), match/switch 3 (6 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d542d59778943e2382f7389ef28b5bc22e63eb71d6b91949c11e525c9b41575"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::ads::following_ad_blender::blend_with_spacing (cognitive 27): crate::home-mixer::ads::following_ad_blender::blend_with_spacing has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (6 pts), match/switch 2 (5 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/following_ad_blender.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"42463f94418ececb30cabeaa0fcf5a86c2f3894911b4fdf384d93ec9e0c188ce"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::thunder::kafka::tweet_events_listener::process_message_batch (cognitive 27): crate::thunder::kafka::tweet_events_listener::process_message_batch has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (7 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/kafka/tweet_events_listener.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23828c436d5659fd7282f638853e90487db61e50913f3f1e46a27c885b27710"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::emb_table::load_tensor_no_resharding (cognitive 27): xai_recsys_engine::emb_table::load_tensor_no_resharding has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (18 pts), loops 3 (4 pts), match/switch 4, boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2508ccd1d24527b35905cb2a804cf1803402475f339a1b4e418b940a41ad5e06"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit2O6.createASTNode (cognitive 27): FunctionUnit2O6.createASTNode has cognitive complexity 27 (threshold 15). Drivers by points: if/else 24 (27 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10267}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4479b56f9608328a174212eab8e0b2f909f1ce140b35408a02d2db6341e539d"}},{"ruleId":"D2","level":"warning","message":{"text":"login_starter_pack_counter.get_login_pack_age_minutes (cognitive 27): login_starter_pack_counter.get_login_pack_age_minutes has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (23 pts), error handling 2 (4 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/login_starter_pack_counter.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bcf7c9a3451b189ecfa5186d830bbe7adffe14ce857ce4ed53bfd170144732"}},{"ruleId":"D2","level":"warning","message":{"text":"dump_gen._check_with_pyarrow (cognitive 27): dump_gen._check_with_pyarrow has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 13, loops 9 (10 pts), if/else 3, ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/dump_gen.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8abe088f10680867220721332233d7473921a7ff11d8557b15f3832c1a1d513"}},{"ruleId":"D2","level":"warning","message":{"text":"LazyRecordBatchIterator.seek (cognitive 27): LazyRecordBatchIterator.seek has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"a751dc8bdd606848c03ae2038b3a29f2b3004557c7b111797cecdab481eb90fd"}},{"ruleId":"D2","level":"warning","message":{"text":"XaiEmbeddingClientHttp._send_encode_request (cognitive 27): XaiEmbeddingClientHttp._send_encode_request has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 3 (7 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/embed/embed_http.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8757cd5e34e5480f851533ca2e41129dcbddc4c51209cc317f472c70a6a95b"}},{"ruleId":"D2","level":"warning","message":{"text":"Backfill::start (cognitive 26): Backfill::start has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 8 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1143d028e2504103c29f1e5fc0617b4eb2238323d555aa71ff37250969c9cc6"}},{"ruleId":"D2","level":"warning","message":{"text":"PostStore::trim_old_posts (cognitive 26): PostStore::trim_old_posts has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 6 (8 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/posts/post_store.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec75b93b5f793fcede052635df14946191cca6b6f8a3d2f188a2331e5d7096f3"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::storage_util::load_reshard_row_to_col (cognitive 26): xai_recsys_engine::storage_util::load_reshard_row_to_col has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 3 (6 pts), match/switch 1 (4 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"0431436016cdaa256ba51d3a972dcb182745fa907a466a72bdf89c628cd5047b"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_mm_server::snapshot::fetch_recent_embeddings_from_o2 (cognitive 26): xai_recsys_mm_server::snapshot::fetch_recent_embeddings_from_o2 has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 4 (13 pts), if/else 3 (7 pts), loops 4 (6 pts) (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/snapshot.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90e61535ff5911a5398c3357c67080f44deb9206466802f200e923f4ec7e0f2"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturesOfPeriscopePublishBroadcastEvent.apply (cognitive 26): FeaturesOfPeriscopePublishBroadcastEvent.apply has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (26 pts) (nesting depth added 17). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfPeriscopePublishBroadcastEvent.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"341f1ea7e181f4160aaadb94eae7354eed5c28b4e23f6eb86c67ccc606036286"}},{"ruleId":"D2","level":"warning","message":{"text":"ThriftOperator.isDivergentTo (cognitive 26): ThriftOperator.isDivergentTo has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb66213930f90dad7bf9e73c290aff827b7591cdf96c0e7c60ac0870be3ffccc"}},{"ruleId":"D2","level":"warning","message":{"text":"ThriftStructOperator.isDivergentTo (cognitive 26): ThriftStructOperator.isDivergentTo has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f66c496de4ad6650d25d400c59326cb22758830293697f74cddc785862514c"}},{"ruleId":"D2","level":"warning","message":{"text":"sid_codebook.train_rqvae (cognitive 26): sid_codebook.train_rqvae has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/sid_codebook.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e693227a2a6edf320c856f116a106e4f54c82a4b38bce8235145a003c0b26c"}},{"ruleId":"D2","level":"warning","message":{"text":"ranker_attention_fa4.ranker_attention_fa4 (cognitive 26): ranker_attention_fa4.ranker_attention_fa4 has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 5 (9 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75d18f555d804e27f1a8ca943527775842483a7be7accdc6e9517ec592592c5"}},{"ruleId":"D2","level":"warning","message":{"text":"launch_inference.run (cognitive 26): launch_inference.run has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (16 pts), loops 4 (5 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_inference.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d5f19d906f4e6293a1f4419748222e961b4b9fc83f29cdb4ad3199c5192e33"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTrainer.async_emb_step (cognitive 26): RecsysTrainer.async_emb_step has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":2109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e023ddd1ab07059aa7a6aa8925d51613b1647b0dd6cd192ad6a6b814591e8ef4"}},{"ruleId":"D2","level":"warning","message":{"text":"Video.interleave_storyboard (cognitive 26): Video.interleave_storyboard has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/lm/convo.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d728b5ed67afebe6ce7c4f08bcdefe9ef999e90871e782ebbf97d68be8a3d037"}},{"ruleId":"D2","level":"warning","message":{"text":"V82EmbedPostRenderer._author_block (cognitive 26): V82EmbedPostRenderer._author_block has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15, boolean chains 9, ternaries 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a378b8bb2050690612357bd6daed24fb01c2878709a033995baf7708fd079d3"}},{"ruleId":"D2","level":"warning","message":{"text":"V82EmbedPostRenderer._collect_post_media (cognitive 26): V82EmbedPostRenderer._collect_post_media has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 2 (6 pts), boolean chains 4, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f7c56ba829826032276b024645b94652ebd674266929999f12f3fcd1251cfa"}},{"ruleId":"D2","level":"warning","message":{"text":"V8SearchEmbedPostRenderer._author_block (cognitive 26): V8SearchEmbedPostRenderer._author_block has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15, boolean chains 8, ternaries 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v8_search.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65ebf059ea13faafb5279d34c0951525c43330c71bbd7116342bf444eccea95"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskSafetyPtosSafemodelSexNudity._collect_payloads (cognitive 26): TaskSafetyPtosSafemodelSexNudity._collect_payloads has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (10 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb3587b33d26c3760570b7301b2308d7e4b69a2b9de68685ee2318510cb3e19"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplyScorer._parse (cognitive 26): ReplyScorer._parse has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 3 (7 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_reply_ranking.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bb93832b1bd75f5c628c6402f0d39527148b6f86c6a1c788abce4c49f8ce18"}},{"ruleId":"D2","level":"warning","message":{"text":"SimpleReplyScorer._parse (cognitive 26): SimpleReplyScorer._parse has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 3 (7 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_simple_reply_scorer.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2e1ede828713b6b6323f168cf14a5f990b9caa2322189ca98313ec0b1734af"}},{"ruleId":"D2","level":"warning","message":{"text":"Perspective::write_to_out_protocol (cognitive 25): Perspective::write_to_out_protocol has cognitive complexity 25 (threshold 15). Drivers by points: if/else 25. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":10489}}}],"partialFingerprints":{"codehealthFindingId/v1":"77820d28d625d5dffab4878c161e14dfeb60ac01f76d5251d894196849f1e6bd"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::ads::time_gap_blender::blend_impl (cognitive 25): crate::home-mixer::ads::time_gap_blender::blend_impl has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 3, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/time_gap_blender.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf9ef7ee926aa0819f7964206bcb09688f39545ee388381da235b1802a01786"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::util::viewer_history::engaged_history_topics (cognitive 25): crate::home-mixer::util::viewer_history::engaged_history_topics has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (18 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/viewer_history.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"706598b15ea9d7377129900b15d5a0453cae0f6241f208095a29d267a489367c"}},{"ruleId":"D2","level":"warning","message":{"text":"InputBuffer::new_with_candidates (cognitive 25): InputBuffer::new_with_candidates has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 4 (6 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ad17c9419afc88b75644848a31bd1677972d6bb0effe025904092cd720644b"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrieveRequestBatch::build_eligible_mask_into_shards (cognitive 25): RetrieveRequestBatch::build_eligible_mask_into_shards has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (8 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcd9bf4193ac71f863dd5a3f5b69075002ec4d34ce6dc21c14f748d935818be"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturesOfTweetSafetyLabelEvent.apply (cognitive 25): FeaturesOfTweetSafetyLabelEvent.apply has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 4 (11 pts), boolean chains 1 (nesting depth added 14). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetSafetyLabelEvent.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"827f0a800a6de7222832ed31c9def5a41593f9f771e26a3cc0c4dfb5b49c96b4"}},{"ruleId":"D2","level":"warning","message":{"text":"Type.of (cognitive 25): Type.of has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, boolean chains 12. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/Type.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b01705489a24f84b239b92321afef0ed35258eea33dba1fe97e6533462d68f"}},{"ruleId":"D2","level":"warning","message":{"text":"score_results_sink_focal._build_policy_config (cognitive 25): score_results_sink_focal._build_policy_config has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14, ternaries 4 (8 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"457446715e237b1da7244d981c7bf282126ee41649a9edb804ec1cb048b64880"}},{"ruleId":"D2","level":"warning","message":{"text":"score_results_sink_focal._paused_head_lane (cognitive 25): score_results_sink_focal._paused_head_lane has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 11). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9c6c9eb7dacd48b49d3596470f4e870a4a9d234c13a87904658878d875f627"}},{"ruleId":"D2","level":"warning","message":{"text":"score_results_sink_focal._build_bq_row (cognitive 25): score_results_sink_focal._build_bq_row has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 10, boolean chains 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed34043c6ce8930f1dbb979e610f55bd6ae3a9ca2b40447645ebcd593dc4d5c"}},{"ruleId":"D2","level":"warning","message":{"text":"mma_sm100_desc.make_smem_desc_base (cognitive 25): mma_sm100_desc.make_smem_desc_base has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 10). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/mma_sm100_desc.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad84c7788377deed76e1c3bf36de50accba78ff2f31ca7d719bfcc6db10fa11a"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModelRunner._maybe_init_live_dense_swap (cognitive 25): BaseModelRunner._maybe_init_live_dense_swap has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 3, loops 2, error handling 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b00a6a8d12868c450598be8cf0422bc742538fc0b992d3196fabfaaffe935fa"}},{"ruleId":"D2","level":"warning","message":{"text":"trainer_recsys._chunked_row_forward_on_device (cognitive 25): trainer_recsys._chunked_row_forward_on_device has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (5 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"3320cc4eaefe5d35a6e38bf8ac11240678176f365e3aff62757b5f7647befa1d"}},{"ruleId":"D2","level":"warning","message":{"text":"dek.publish_tree_dek (cognitive 25): dek.publish_tree_dek has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), error handling 2 (5 pts), boolean chains 2, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/training/xai-checkpointing/xai_checkpointing/dek.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3520ae3733292ba782ac343a051eb9ef35a51030fdb342d19149f0ed0b08b76"}},{"ruleId":"D2","level":"warning","message":{"text":"load.load_checkpoint_streamed (cognitive 25): load.load_checkpoint_streamed has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (11 pts), loops 4 (8 pts), ternaries 4 (5 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/training/xai-checkpointing/xai_checkpointing/load.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecaa212addc460c1f3e7414737da14b6844abfe0443041176cf1c1aaffcbe72d"}},{"ruleId":"D2","level":"warning","message":{"text":"V8SearchEmbedPostRenderer._collect_media_records (cognitive 25): V8SearchEmbedPostRenderer._collect_media_records has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (13 pts), ternaries 2 (6 pts), boolean chains 5, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v8_search.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b8b27936d75f7b719d2a5b0d51e3cc64b2e71ece07cdfec29564e685c031af"}},{"ruleId":"D2","level":"warning","message":{"text":"AppPushDevice::write_to_out_protocol (cognitive 24): AppPushDevice::write_to_out_protocol has cognitive complexity 24 (threshold 15). Drivers by points: if/else 22, loops 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":13112}}}],"partialFingerprints":{"codehealthFindingId/v1":"61747a0184262c425eaa5b82b2bdae81fc86f27026b91c15bf9fc5bca6a1a757"}},{"ruleId":"D2","level":"warning","message":{"text":"Store::assemble (cognitive 24): Store::assemble has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (6 pts), match/switch 3 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/store.rs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db456e7a4f2f7729b290bec1f4abbe0c7974f30d6aef1ad4561768d40735b0d"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::action_control::levels::resolve_rows (cognitive 24): crate::abuse-enforcement-service::service-lib::src::action_control::levels::resolve_rows has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 4, match/switch 3 (4 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control/levels.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0227a653a5b76728cf176b553e7795be0aa6a6c5e0e02799f9f59dbc688ab174"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::action_control::levels::record_problem (cognitive 24): crate::abuse-enforcement-service::service-lib::src::action_control::levels::record_problem has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 8 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control/levels.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40e81364994a8d4fc3a9d5c5c206f7988dde8e05eb82e56c10bd8cfe3578e52"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::phoenix-rankall::src::sid::backfill::run_backfill_loop (cognitive 24): crate::phoenix-rankall::src::sid::backfill::run_backfill_loop has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (6 pts), match/switch 2 (6 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/sid/backfill.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be671ecd087452041fd275b03d7a4f960b4b77939b7d632704b2983380cc170"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::storage_util::upload_files_to_storage (cognitive 24): xai_recsys_engine::storage_util::upload_files_to_storage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 2 (4 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"d029fcd79be4d14748b524546a35775a33bd9fa051da8438c42d9b52af425f24"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit0O5.createASTNode (cognitive 24): FunctionUnit0O5.createASTNode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (24 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit1O5.createASTNode, FunctionUnit2O5.createASTNode, FunctionUnit3O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"567175969550217878a8e038f1acd009c2d740814a5f7f56b0ddf54b62709d30"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit1O5.createASTNode (cognitive 24): FunctionUnit1O5.createASTNode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (24 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O5.createASTNode, FunctionUnit2O5.createASTNode, FunctionUnit3O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bba9017750b24ddc70a4eeb8485ec63768dc04cbe7da4e3ca69f7c243f5af2"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit2O5.createASTNode (cognitive 24): FunctionUnit2O5.createASTNode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (24 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O5.createASTNode, FunctionUnit1O5.createASTNode, FunctionUnit3O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2459}}}],"partialFingerprints":{"codehealthFindingId/v1":"84051ed840fa77b16775e08885f756b1d349d9534f700608426bdf9c68736b4c"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit3O5.createASTNode (cognitive 24): FunctionUnit3O5.createASTNode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (24 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O5.createASTNode, FunctionUnit1O5.createASTNode, FunctionUnit2O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3549}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3e1e6a593c47a2910557bab7751927df1e0a0393521a6eb0a9f3f7d662e057"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit4O5.createASTNode (cognitive 24): FunctionUnit4O5.createASTNode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (24 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O5.createASTNode, FunctionUnit1O5.createASTNode, FunctionUnit2O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4748}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5039a09b4e10d840eb3ef1ff3007440c1588cc52589f2786d236bd2a935d1c"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit5O5.createASTNode (cognitive 24): FunctionUnit5O5.createASTNode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (24 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O5.createASTNode, FunctionUnit1O5.createASTNode, FunctionUnit2O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6043}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d72219fceeb228dad64ea4d3692a892c01651d61cfe51a9e07f182595751ee"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit6O5.createASTNode (cognitive 24): FunctionUnit6O5.createASTNode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (24 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O5.createASTNode, FunctionUnit1O5.createASTNode, FunctionUnit2O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7424}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8109717ac9e7c3c6885856fedb3db260717cd0f724d18c93d940b07b62a3737"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit7O5.createASTNode (cognitive 24): FunctionUnit7O5.createASTNode has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21 (24 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O5.createASTNode, FunctionUnit1O5.createASTNode, FunctionUnit2O5.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8907}}}],"partialFingerprints":{"codehealthFindingId/v1":"db08f0b170652bd0b35dfe149a437baaaee8c45dee285879a2cc735a0b3cce79"}},{"ruleId":"D2","level":"warning","message":{"text":"GizmoduckSafetyFlags.flagDiffsPipe (cognitive 24): GizmoduckSafetyFlags.flagDiffsPipe has cognitive complexity 24 (threshold 15). Drivers by points: loops 4 (18 pts), if/else 3, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/GizmoduckSafetyFlags.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f849170da1e7ded1c91af72b0c12000bf7cbb914f0025036ae6dedde9f19c7e"}},{"ruleId":"D2","level":"warning","message":{"text":"UthDailyPostsBackfillApp.countLabelsPerAsOfDay (cognitive 24): UthDailyPostsBackfillApp.countLabelsPerAsOfDay has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthDailyPostsBackfillJob.scala"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6386586d27611684facf8cf214acf71aa4a9987b609360ab60041415d3a8a2"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturesOfUserModification.apply (cognitive 24): FeaturesOfUserModification.apply has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfUserModification.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c132b0cfc615add2e182c314794e01919c240b0f86e1909ee2b044f39e58d4"}},{"ruleId":"D2","level":"warning","message":{"text":"2.split (cognitive 24): 2.split has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 8, loops 2 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/RegexCache.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b31085a7f329a099ca4c64536387a15607d97cb3a3e8089c8b26b910c61d1be"}},{"ruleId":"D2","level":"warning","message":{"text":"ranker_attention_varlen_fa4.build_block_sparse_layout (cognitive 24): ranker_attention_varlen_fa4.build_block_sparse_layout has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 4 (8 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2acab34cbe3df77cd042d571e2a7ae602a891958629d50b697bd5631f3210c1"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskWriteSafetyPostAnnotationsResultSink._compute_bool_metadata_from_violations (cognitive 24): TaskWriteSafetyPostAnnotationsResultSink._compute_bool_metadata_from_violations has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 6, loops 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb08462276fb6bbb92e3c95144400bea33d3d12b75e0d625005e4605d99eb552"}},{"ruleId":"D2","level":"warning","message":{"text":"AdAdjacentServedFilter::filter (cognitive 23): AdAdjacentServedFilter::filter has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 4 (7 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/filters/ad_adjacent_served_filter.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"90742bc86c5e47ce068033b7b253db6a749764bbf2a26f5e9967f1dbf0ec5647"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseSnapshotStore::dump_all_windows (cognitive 23): BaseSnapshotStore::dump_all_windows has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"614e585cd9dd8dc488350b43eb92baff1d7ba600e1f68fd73cd41a84cc8c2752"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::action_control::levels::validate_confidence (cognitive 23): crate::abuse-enforcement-service::service-lib::src::action_control::levels::validate_confidence has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, loops 1 (3 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control/levels.rs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c8cb414b70cd984391a326456d26622758bc4841ca5590f97eb7616707cc49"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::side_effects::scored_stats_side_effect::record_retrieval_source_contribution (cognitive 23): crate::home-mixer::side_effects::scored_stats_side_effect::record_retrieval_source_contribution has cognitive complexity 23 (threshold 15). Drivers by points: loops 8 (17 pts), if/else 3 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/scored_stats_side_effect.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"460688780708383f20e9a9961489210b41fa798bd900cead3a1880eac45854b2"}},{"ruleId":"D2","level":"warning","message":{"text":"sid_io.load_codebook (cognitive 23): sid_io.load_codebook has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/sid_io.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a692b76e7fad48b77025ceb8e8f5e88b63beaee95708bb6e77bb9e9488da90"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTwoTowerEval._create_retrieval_metrics (cognitive 23): RecsysTwoTowerEval._create_retrieval_metrics has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 4 (9 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/recsys_eval.py"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69e5baa9ede229ec26a9bfcaca20117f07d85cfb4838192b8aa0a1dd1e135bb"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModelRunner.maybe_load_checkpoint (cognitive 23): BaseModelRunner.maybe_load_checkpoint has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, error handling 2 (3 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2574}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4fdb2653f4dabe57ab72c3537533bbbb0926358f4452acd1a9622be3be32b5"}},{"ruleId":"D2","level":"warning","message":{"text":"recsys_model.build_metric_masks (cognitive 23): recsys_model.build_metric_masks has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 5, loops 1 (2 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed1b9e390e19688f4c76a91eebadd309ee095894bbee8fd596482d628348eba"}},{"ruleId":"D2","level":"warning","message":{"text":"LitePostRenderer.render (cognitive 23): LitePostRenderer.render has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 3 (6 pts), boolean chains 1, ternaries 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/lm/post.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95dd7e8b1392ae0b1678feb77551dc2983ba81afb9fb00406a200f3c2800c30"}},{"ruleId":"D2","level":"warning","message":{"text":"UserRenderer.render (cognitive 23): UserRenderer.render has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, ternaries 3 (6 pts), loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/lm/user.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8baff973ca4db6e702c10ac24326d98ded2cd432bfde233982f17c6c796e4459"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskSafetyPtosAdultContentLeadingFramesFilter._eligible_with_post (cognitive 23): TaskSafetyPtosAdultContentLeadingFramesFilter._eligible_with_post has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, if/else 7, ternaries 3, loops 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_adult_content_leading_frames_filter.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b5e1642adb5d6be2f5ce37afec3764a299ec3995043fe164c866e1a12ddc49"}},{"ruleId":"D2","level":"warning","message":{"text":"HeadGuard::spawn_refresh_with (cognitive 22): HeadGuard::spawn_refresh_with has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/head_guard.rs"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"9426efecdf2d931c23869504c942cea8f90f997d7664646c6c651fcf6743fe6f"}},{"ruleId":"D2","level":"warning","message":{"text":"ScoreResultProcessor::process (cognitive 22): ScoreResultProcessor::process has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), match/switch 4 (6 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8ace6779054370f87fecc16e4f13c080ac803c667214a058947b665d7178b6"}},{"ruleId":"D2","level":"warning","message":{"text":"OffSwitch::spawn_refresh_with (cognitive 22): OffSwitch::spawn_refresh_with has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/off_switch.rs"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c985d4d4c3b5d18b973b37218da18826aee5acb50726e4dd1fcf24fddac5438"}},{"ruleId":"D2","level":"warning","message":{"text":"HoldGate::breaker_after_probe (cognitive 22): HoldGate::breaker_after_probe has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2e698b025058cfc12c7720bae7e503a4ce4970202bff535d735b2b046c47e9"}},{"ruleId":"D2","level":"warning","message":{"text":"FullTweet::write_to_out_protocol (cognitive 22): FullTweet::write_to_out_protocol has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16, loops 3 (6 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38885e68a5a15ecf6b45c2302ec98ffd0c3fe25ae5f19085250398f47e76be7"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::util::urt::new_tweets_pill::extract_pill_user_ids (cognitive 22): crate::home-mixer::util::urt::new_tweets_pill::extract_pill_user_ids has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/new_tweets_pill.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9072cc44b744e3343a83bda7864a860c9eaa34b6065e8c74595aaea206cb2bc0"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchDispatcher.flush (cognitive 22): BatchDispatcher.flush has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 5, loops 2 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/common/BatchDispatcher.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa72e4acc7f47ac60b2e0b6a4e2a88c30adc123c97a629ade406f76efed5c7cc"}},{"ruleId":"D2","level":"warning","message":{"text":"TweetJob.generate (cognitive 22): TweetJob.generate has cognitive complexity 22 (threshold 15). Drivers by points: match/switch 11 (14 pts), if/else 5, loops 1 (2 pts), boolean chains 1 (nesting depth added 4). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/TweetJob.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"74c8cf54108637b3f10ab5f0452f0660812899130530487f5c4454504f7109ae"}},{"ruleId":"D2","level":"warning","message":{"text":"UthDailyPostsApp.countLabelsAsOf (cognitive 22): UthDailyPostsApp.countLabelsAsOf has cognitive complexity 22 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 2, match/switch 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthDailyPostsJob.scala"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"97228439182aee67a1d49f0927deba951826be1f666220dbf9c32d88aa701815"}},{"ruleId":"D2","level":"warning","message":{"text":"Compiler.botmakerFunctionToASTNode (cognitive 22): Compiler.botmakerFunctionToASTNode has cognitive complexity 22 (threshold 15). Drivers by points: error handling 4 (10 pts), if/else 4 (5 pts), match/switch 2 (5 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cd92c666f9ac9ff49b9e6195d8faae89716b8021a583c42bc94911a7373e6c"}},{"ruleId":"D2","level":"warning","message":{"text":"score_results_sink_focal._spam_bounce_lane (cognitive 22): score_results_sink_focal._spam_bounce_lane has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"989396135c59717cdb1b67da103a8e1d3ae82dd0b3b705ff32c6a2ec5841c561"}},{"ruleId":"D2","level":"warning","message":{"text":"kafkaconsumer._deserialize_messages (cognitive 22): kafkaconsumer._deserialize_messages has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 5 (8 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdbe7f30a6dc0a35f114e9de868cefa62cd4850581864af73779597844c397e"}},{"ruleId":"D2","level":"warning","message":{"text":"eval_utils.report_forward_eval_results (cognitive 22): eval_utils.report_forward_eval_results has cognitive complexity 22 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (8 pts), ternaries 1 (6 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/eval_utils.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2865fedddad22aafe37037e277c7c34dfc56becc3182b1234518c42777ea526d"}},{"ruleId":"D2","level":"warning","message":{"text":"launch_multi_inference.wait_for_workers (cognitive 22): launch_multi_inference.wait_for_workers has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (16 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4c974a5ecef9ce8bccf2c8248acab4a14e0c287bc67b9d04d7418a4ee5b2a4"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysAggregatedModelConfig.make (cognitive 22): RecsysAggregatedModelConfig.make has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae61b5fa1a811dca6c609c2957828e5abc8e43119822b468c23937041a8934cf"}},{"ruleId":"D2","level":"warning","message":{"text":"transformer.layer_stack_block (cognitive 22): transformer.layer_stack_block has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 1 (4 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/transformer.py"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c38b554a4141295cc50ebfd604387dd597b2a2b7dc2ef0a76159bfa2cf6a02"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTrainer._create_async_emb_executables (cognitive 22): RecsysTrainer._create_async_emb_executables has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 6, ternaries 3 (5 pts), error handling 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":2589}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab5fe98431b2b7b92cec6163847543add8be57727965b4dbc8161fc861ccd65"}},{"ruleId":"D2","level":"warning","message":{"text":"layer_stack.stack_params (cognitive 22): layer_stack.stack_params has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/layer_stack.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5c099195bff0dc368746a0ceffa14670c4fef3c2661b5dda0339008c8c4033"}},{"ruleId":"D2","level":"warning","message":{"text":"ocdbt._load_node (cognitive 22): ocdbt._load_node has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (4 pts), ternaries 1 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/ocdbt.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"93fc03eac218981db1184dc3283e9e6ca19f4831826da79adf83e496c09dda8d"}},{"ruleId":"D2","level":"warning","message":{"text":"Post._collect_urls (cognitive 22): Post._collect_urls has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (6 pts), boolean chains 5 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/data_types.py"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90bc746bf9183d600734a57f877983535a9808c0f3ca67517902318da101d5b"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationExtension1::write_to_out_protocol (cognitive 21): NotificationExtension1::write_to_out_protocol has cognitive complexity 21 (threshold 15). Drivers by points: if/else 21. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":7387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3f87407e1af5547b9a448d715b6885255dae43af0bf2dba4aad3039b5354f4"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::scorers::vm_ranker_request::dpp_history (cognitive 21): crate::home-mixer::scorers::vm_ranker_request::dpp_history has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 3 (6 pts), match/switch 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/scorers/vm_ranker_request.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee687dccec2e14799feddb6144746287dfdf65fddfe23061d2e34403e1e3b93"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::util::conversation_grouping::select_conversation_modules (cognitive 21): crate::home-mixer::util::conversation_grouping::select_conversation_modules has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 4, boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/conversation_grouping.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb095cd1447778bff9f0600192012f096bddddebb963460d998d096d892792f"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::emb_table::send_entries_reporting (cognitive 21): xai_recsys_engine::emb_table::send_entries_reporting has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 3, loops 1, match/switch 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc271956377e20483e97033dfc33359c1aaf606b104dceb90284c89ba1bc415"}},{"ruleId":"D2","level":"warning","message":{"text":"LmdbEmbeddingCache::insert_many (cognitive 21): LmdbEmbeddingCache::insert_many has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 2 (3 pts), loops 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/embedding_cache.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"892b995046301385669180043e52b03981516bff0d0f60a5e5e9b6940a6e0d80"}},{"ruleId":"D2","level":"warning","message":{"text":"UserAgent.evaluate (cognitive 21): UserAgent.evaluate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (20 pts), match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_common/src/main/scala/com/twitter/botmaker/common/UserAgent.scala"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b4309047c922314e93eb2e06f71eecbca566292064569d12be76b181e62404"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit0O4.createASTNode (cognitive 21): FunctionUnit0O4.createASTNode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (21 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit1O4.createASTNode, FunctionUnit2O4.createASTNode, FunctionUnit3O4.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e9615a239fffeaa7f38af78a228b8ca6af2578e09e15bf4a2bf342bac498aa"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit1O4.createASTNode (cognitive 21): FunctionUnit1O4.createASTNode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (21 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O4.createASTNode, FunctionUnit2O4.createASTNode, FunctionUnit3O4.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad3738bd5ede60779eff2a1e2a7b990221f6f308fba62c8e31e90fcf8298649"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit2O4.createASTNode (cognitive 21): FunctionUnit2O4.createASTNode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (21 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O4.createASTNode, FunctionUnit1O4.createASTNode, FunctionUnit3O4.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"6add379836e810e0f66a6c3ec9f86603ef8111422765dd7c36ce7469cd269526"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit3O4.createASTNode (cognitive 21): FunctionUnit3O4.createASTNode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (21 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O4.createASTNode, FunctionUnit1O4.createASTNode, FunctionUnit2O4.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3323}}}],"partialFingerprints":{"codehealthFindingId/v1":"4efd4b660508f73ea25d91aebc6b2b858631ba30bf008ad514f1696b0408796b"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit4O4.createASTNode (cognitive 21): FunctionUnit4O4.createASTNode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (21 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O4.createASTNode, FunctionUnit1O4.createASTNode, FunctionUnit2O4.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4501}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b7cd1a8197567ac40f436b13aeaa53dac00b88b882b1ed0d4c2d7022480de5"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit5O4.createASTNode (cognitive 21): FunctionUnit5O4.createASTNode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (21 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O4.createASTNode, FunctionUnit1O4.createASTNode, FunctionUnit2O4.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5778}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4c1372d89c7ded0d292cd054547379b06f757b0069a78a7b6250bfdaecbecb"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit6O4.createASTNode (cognitive 21): FunctionUnit6O4.createASTNode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (21 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O4.createASTNode, FunctionUnit1O4.createASTNode, FunctionUnit2O4.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3ceea5ac4436947ac427da885403f26b75030d2896137372f132bdf4a1039e"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit7O4.createASTNode (cognitive 21): FunctionUnit7O4.createASTNode has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18 (21 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O4.createASTNode, FunctionUnit1O4.createASTNode, FunctionUnit2O4.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8605}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7711775eab4d1c7d7ec07fd65a73835b130fa8363a7b22950ec5f088d10e7d8"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturesOfUnifiedPostAnnotationsEvent.apply (cognitive 21): FeaturesOfUnifiedPostAnnotationsEvent.apply has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (21 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfUnifiedPostAnnotationsEvent.java"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1892e86c16d68414db7e3dd60231993fe9c48ab2e44da5f1b3998377661cd8eb"}},{"ruleId":"D2","level":"warning","message":{"text":"CompilerUnitBuilder.build (cognitive 21): CompilerUnitBuilder.build has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 4 (10 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/CompilerBuilder.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab143641755dd2f7274835b649b038012365b8cbb1ee9112110f6e282b33971"}},{"ruleId":"D2","level":"warning","message":{"text":"10.serialize (cognitive 21): 10.serialize has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19, loops 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a015811568940ec50fc0763cdd16d8eb3b7cb9000204a7ac8c50cdc42ff8313"}},{"ruleId":"D2","level":"warning","message":{"text":"sequence_cache.merge_realtime_into_sequence (cognitive 21): sequence_cache.merge_realtime_into_sequence has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (8 pts), loops 3 (4 pts), ternaries 2 (4 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/sequence_cache.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"259bba016c1cface272b89be40a9cab5997382755282b121595642ecaeaa0d93"}},{"ruleId":"D2","level":"warning","message":{"text":"starter_pack_follows.get_followed_pack_count (cognitive 21): starter_pack_follows.get_followed_pack_count has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (17 pts), error handling 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/starter_pack_follows.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88ded0533fbd6fc758a21f00da1f26e1a4e5a8f090899f61424cd60af94b58f"}},{"ruleId":"D2","level":"warning","message":{"text":"train_head.main (cognitive 21): train_head.main has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/training/train_head.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6f494a73adb7b5683c9761a746350e3ce2a78de62662dec9817318a2ce2f0a"}},{"ruleId":"D2","level":"warning","message":{"text":"_OrderedBatchBuilder.close (cognitive 21): _OrderedBatchBuilder.close has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 3 (5 pts), boolean chains 1, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a78a14c5eeb2ad13baefc6a1cf30496491b3ea9b85bb0cd826f7656d2ee94c"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseModelRunner.prepare_and_compute (cognitive 21): BaseModelRunner.prepare_and_compute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3022}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6bdeb8a22a81faf92617def048cd7e477b14c5026056f9b8d30acc9f03a9f4"}},{"ruleId":"D2","level":"warning","message":{"text":"gpu._gpu_index_to_local_numa_node (cognitive 21): gpu._gpu_index_to_local_numa_node has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 4 (7 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/gpu.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f58f63d538bed908d4bd94d10050316c04ef8f30f8b76364f47efd1ae91ac7"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaLoader.construct_convo_video (cognitive 21): MediaLoader.construct_convo_video has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 2 (3 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"874044cb0c342d8384602d35317ce1b8b1f35812b3fda961427f89bd9edb0dad"}},{"ruleId":"D2","level":"warning","message":{"text":"UserRecentPostsLoader.load (cognitive 21): UserRecentPostsLoader.load has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 4 (5 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/strato_loader.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"341d37c563b474fadda22e8334223c29664da3a01d5defe068c4fd28bb7aa089"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionControl::spawn_refresh_with (cognitive 20): ActionControl::spawn_refresh_with has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c4a406b20330b987d3c7aded70753cffaf0cd347192e6ca21d38a5e55838b6"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadcastLivenessHydrator::hydrate (cognitive 20): BroadcastLivenessHydrator::hydrate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 4 (6 pts), match/switch 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/broadcast_liveness_hydrator.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2061b8f7f43656a30de5c20c301a632330a0d515c114537cc1ccb9038051f971"}},{"ruleId":"D2","level":"warning","message":{"text":"SidTailProcessor::process_batch (cognitive 20): SidTailProcessor::process_batch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/sid_tail_processor.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e190f0e3d36589adf6f1d635de468d9918c53ee3ea24def8d0f80f49da68cf3"}},{"ruleId":"D2","level":"warning","message":{"text":"PostStore::get_posts_from_map (cognitive 20): PostStore::get_posts_from_map has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (15 pts), boolean chains 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/posts/post_store.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e8b7634c4895e800f23b69fc0b9858aede2fa31fee4dc2561d03fcd6a572a3"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaInfo::read_from_in_protocol (cognitive 20): MediaInfo::read_from_in_protocol has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet_media.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4766c1f5e5423a30a1e8ace0ff9061a606e25e4000a638a834a23a1505271e6"}},{"ruleId":"D2","level":"warning","message":{"text":"Notification::write_to_out_protocol (cognitive 20): Notification::write_to_out_protocol has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":7693}}}],"partialFingerprints":{"codehealthFindingId/v1":"160e09bd32db3b2782ceffd2140afbe635e5e14be4313e4fee2ae3213ecbb22b"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::kafka_health_watchdog (cognitive 20): crate::abuse-enforcement-service::service-lib::src::kafka_health_watchdog has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":2729}}}],"partialFingerprints":{"codehealthFindingId/v1":"a974c8da0b1a5ef634d607800401315f9b0c96da256bdf8d3efa2a116544d52f"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::ads::slot_spread_blender::assign (cognitive 20): crate::home-mixer::ads::slot_spread_blender::assign has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (4 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/slot_spread_blender.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e261df69a494ffbf95726656c0a37d1c46c59ef73845391a6bca01b18848f1c"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::ads::time_gap_blender::assemble_time_gap (cognitive 20): crate::home-mixer::ads::time_gap_blender::assemble_time_gap has cognitive complexity 20 (threshold 15). Drivers by points: loops 6 (14 pts), if/else 2 (4 pts), boolean chains 2 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/time_gap_blender.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c391c9e36d082119c2dd70b718f128421ba8293adb434b63d32ed77e69c9a4"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::visibility-filtering::verdict_gate::parse_cases (cognitive 20): crate::visibility-filtering::verdict_gate::parse_cases has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (7 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/verdict_gate.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a2d85fdd7af086c2b35fb056c51afea7c3dd60ba9590f54f71cae35c9b1ce0"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::bin::checkpoint_server::main (cognitive 20): xai_recsys_engine::bin::checkpoint_server::main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 3 (4 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/bin/checkpoint_server.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ebc72fc573f3e2011f048f5979a7ab424086fb860d64716841723aa7aa23ec"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::checkpoint_store::get_checkpoint_store (cognitive 20): xai_recsys_engine::checkpoint_store::get_checkpoint_store has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/checkpoint_store.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"29607c4a5a76ab71cdbe88f495f6bf5fdf51cc3fbae8ab6a619b821bedaaf625"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::copy_port_client::spawn_sharded_downloads (cognitive 20): xai_recsys_engine::copy_port_client::spawn_sharded_downloads has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), loops 2 (3 pts), match/switch 2, boolean chains 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":1853}}}],"partialFingerprints":{"codehealthFindingId/v1":"421b98f24fd5ac51ae6ca186f03b707d46c52ec5d65199e91764c6f5d0bff2ab"}},{"ruleId":"D2","level":"warning","message":{"text":"ThriftStructType.getFieldValueMetadata (cognitive 20): ThriftStructType.getFieldValueMetadata has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ee4f5914b70d9ab2cfedcb1aba297497adb7978bc18eef4b2194a5687c0d9a"}},{"ruleId":"D2","level":"warning","message":{"text":"Cast.mkCast (cognitive 20): Cast.mkCast has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 6, error handling 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/conversion/Cast.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa76940c1c08af15e8f38f0d71587c449531868285d83260c8f972ff116047c"}},{"ruleId":"D2","level":"warning","message":{"text":"score_results_sink_focal._flush_bq (cognitive 20): score_results_sink_focal._flush_bq has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), loops 3 (9 pts), boolean chains 1, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1375}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3500b42a5cfc25c2aa8ef0a1f66223a925a751d201a88656beef9a52e913d5"}},{"ruleId":"D2","level":"warning","message":{"text":"id_list_features.parse_id_lists (cognitive 20): id_list_features.parse_id_lists has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 3, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/id_list_features.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a6ed95e6957960b3a327ff06cb958cf1f92ac788be8833a2abc42545b45738"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_parquet_recsys._sequence_reads (cognitive 20): rust_parquet_recsys._sequence_reads has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/rust_parquet_recsys.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"23086d83807aa8e17c23d5ba9b0e69638975d354f57c8dc5e4c678956cbaaa73"}},{"ruleId":"D2","level":"warning","message":{"text":"kafkaconsumer._decode_training_message (cognitive 20): kafkaconsumer._decode_training_message has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"682db43d3381ad7692a97d06b9b7f23e1cc8db28e3842477d3cbd64983d6efeb"}},{"ruleId":"D2","level":"warning","message":{"text":"core.init_run_dir (cognitive 20): core.init_run_dir has cognitive complexity 20 (threshold 15). Drivers by points: error handling 6 (12 pts), if/else 6 (8 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/core.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ca0645a222169479aec5df973dc7335ce80e719663fbb3627f2872900d2ca3"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiHeadAttention.__call__ (cognitive 20): MultiHeadAttention.__call__ has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (19 pts), ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/layers.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff980e756200d090a1a0e8988a41c01eba176360077d6e3b2f2c1c047d1a70c"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysRowwiseAdagradOptimizer.sparse_update (cognitive 20): RecsysRowwiseAdagradOptimizer.sparse_update has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/optimizers/recsys/rowwise_adagrad.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a355ba198c4b192b351e0bf0d4ace641efb5cc98e3a2c6a14661b0d5bd8d123f"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTrainer.create_dataset (cognitive 20): RecsysTrainer.create_dataset has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41a0e22722688677e091189576349d6fb161d8f319b5284188c34c5e36a2758"}},{"ruleId":"D2","level":"warning","message":{"text":"load._drain_read_futures (cognitive 20): load._drain_read_futures has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 3 (9 pts), if/else 3 (6 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/training/xai-checkpointing/xai_checkpointing/load.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2a97f40925d61e16c59d099067a971a4f0310cf72fe06c26297ba26ee6738e"}},{"ruleId":"D2","level":"warning","message":{"text":"V82EmbedPostRenderer._quoted_block (cognitive 20): V82EmbedPostRenderer._quoted_block has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 5 (7 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"6739979f464cf48bb6bca4372ba440e7d3d77cb67807ed3ccc8a846b51a9a13d"}},{"ruleId":"D2","level":"warning","message":{"text":"V8SearchEmbedPostRenderer._quoted_block (cognitive 20): V8SearchEmbedPostRenderer._quoted_block has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 5 (7 pts), boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v8_search.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc57149f32562892c67920bce8b6a01d62564d324a9bd8381f0b3d9c2e2280e"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthorServedMetricsSideEffect::side_effect (cognitive 19): AuthorServedMetricsSideEffect::side_effect has cognitive complexity 19 (threshold 15). Drivers by points: loops 8 (14 pts), if/else 4, boolean chains 1 (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/author_served_metrics_side_effect.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24b0a792c0f8aa2429e324ee8e7272ff5ff35c692baba536353cff057b7af0a"}},{"ruleId":"D2","level":"warning","message":{"text":"ScoredStatsSideEffect::side_effect (cognitive 19): ScoredStatsSideEffect::side_effect has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/scored_stats_side_effect.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67789f68d2d55f083a32919641ad8e122b3d2b9e01c2bfba8371237ce874332"}},{"ruleId":"D2","level":"warning","message":{"text":"AnalysisDumpStore::dump_records (cognitive 19): AnalysisDumpStore::dump_records has cognitive complexity 19 (threshold 15). Drivers by points: loops 6 (10 pts), if/else 3 (7 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/analysis.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab93fb8379254782ab92ec4ca27cfa96ec65230e44fd7f2bc61cf9c76dcf51c2"}},{"ruleId":"D2","level":"warning","message":{"text":"Place::write_to_out_protocol (cognitive 19): Place::write_to_out_protocol has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, loops 4 (8 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"1790c760357b0105f32fc7363b9fe19be30339ef41625c24e20ebcdaa37ceac4"}},{"ruleId":"D2","level":"warning","message":{"text":"Action::from_thrift (cognitive 19): Action::from_thrift has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (4 pts), match/switch 1 (2 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering-client/models.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3593541de5b4efb591d9114862b94dae51bbbfdcb92b214967f639bb1a8bb2e5"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::gated_actions (cognitive 19): crate::abuse-enforcement-service::service-lib::src::gated_actions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9878be4d8f9d2e2e4544fcc677dcdf3d68dae4c0748a54c1d1d7e281877fc70"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::backfill::validate_start (cognitive 19): crate::abuse-enforcement-service::service-lib::src::backfill::validate_start has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"559ad62d7c2d586cde290720a687db97d98bb18a3b8dacdb91f60be6645e7b1c"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::side_effects::response_diversity_stats_side_effect::record_cross_page (cognitive 19): crate::home-mixer::side_effects::response_diversity_stats_side_effect::record_cross_page has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (11 pts), if/else 2 (8 pts) (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/response_diversity_stats_side_effect.rs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"6921ad92ba42a23003a0b0c0e09a9c393b87bcc343002a513b3f6ccdf4fda971"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::visibility-filtering-client::vf_client::plan_evaluate_chunks (cognitive 19): crate::visibility-filtering-client::vf_client::plan_evaluate_chunks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (6 pts), match/switch 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering-client/vf_client.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"5689324a6d4c464d3489a30f5a937e3b79ef5b005168562bc98acb577bcd787e"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::visibility-filtering::thrift_read::skip_till_depth (cognitive 19): crate::visibility-filtering::thrift_read::skip_till_depth has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 4 (8 pts), loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/thrift_read.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"30443f23fa164cb490dd988e8dfd2566028d6801468feb4b1a6da84023b96f6d"}},{"ruleId":"D2","level":"warning","message":{"text":"abuse_v3_features::get_i64 (cognitive 19): abuse_v3_features::get_i64 has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (18 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/abuse-v3-features/src/lib.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c67f743f5ae7105ab7a4c88ee0b47d16ca506fbc47706b051d4b0de7d1cfa95"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckpointProxy::download_checkpoint (cognitive 19): CheckpointProxy::download_checkpoint has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (5 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/checkpoint_proxy.rs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"290ef8fda5f0ceb37522328f4b9fa2d0bf4807394ce369fbba4fdc284718f88c"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrieveRequestBatch::reply (cognitive 19): RetrieveRequestBatch::reply has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ac78d9863d62a297773cf899e6b63026bc98b40f1d41f45afb109b812be8e6"}},{"ruleId":"D2","level":"warning","message":{"text":"SemanticIdClient::hydrate (cognitive 19): SemanticIdClient::hydrate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 2 (5 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/sid_client.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"69855ef35da67a533db7214e235f98c64e450ee4544664a9e4f63ee24056e5bb"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::copy::rdma (cognitive 19): xai_recsys_engine::copy::rdma has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcd4b23bc7abb00f0186ba24df029a05ead4588bab939a740a260d0a38ede2b"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::copy_port_client::join_rate_limited (cognitive 19): xai_recsys_engine::copy_port_client::join_rate_limited has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (9 pts), match/switch 2 (5 pts), boolean chains 3, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7d39fded3bdf04172fadf127161347f06b3c184ca48b0210b9a01c91a2a5fd"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::copy_port_client::download_sharded_with_channels (cognitive 19): xai_recsys_engine::copy_port_client::download_sharded_with_channels has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced3fe0dce8c81f7ba2e6e183a659670c54d5ca170316e33b0d4689c7a073ee1"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::python::handle_request (cognitive 19): xai_recsys_engine::python::handle_request has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 6 (10 pts), if/else 7 (9 pts) (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"62478d62afc3e5a4f857136b0ba321b38e9feca8359cd0486feab3a2f26c0acc"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::storage_util::reshard_col_to_row_and_upload (cognitive 19): xai_recsys_engine::storage_util::reshard_col_to_row_and_upload has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4 (5 pts), match/switch 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"538ef913f0c56296702c8a7b250d07805737c8f362b0c5f1b6e5cfe9a4dee300"}},{"ruleId":"D2","level":"warning","message":{"text":"ScalaType.asScala (cognitive 19): ScalaType.asScala has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18 (19 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/compiler/types/ScalaType.scala"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"847b0ce98bf258a3f00bcfa088cf0a2043573de05c9973ca8700060e5f1e125b"}},{"ruleId":"D2","level":"warning","message":{"text":"SimClustersANNCandidateSource.get (cognitive 19): SimClustersANNCandidateSource.get has cognitive complexity 19 (threshold 15). Drivers by points: loops 4 (14 pts), match/switch 2 (4 pts), if/else 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/candidate_source/SimClustersANNCandidateSource.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e60c49485380819e08c971fc37f1ac2d09d8c2797233c8d8237385768cf12b"}},{"ruleId":"D2","level":"warning","message":{"text":"10.computeFingerprint (cognitive 19): 10.computeFingerprint has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (10.toScript, 10.toStratoJson) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"158f6c0b769c059b5a84e19cf60160827a2a4f65e9a2868f0eb704c763398ed1"}},{"ruleId":"D2","level":"warning","message":{"text":"10.toScript (cognitive 19): 10.toScript has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (10.computeFingerprint, 10.toStratoJson) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"e744bfeb291cc4af1be73c60c5fe492464fc158c67cf55e135cc27ec9e38bb71"}},{"ruleId":"D2","level":"warning","message":{"text":"10.toStratoJson (cognitive 19): 10.toStratoJson has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: 2 other methods here (10.computeFingerprint, 10.toScript) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"07063c9a10555ae4c3e67a6088c78c06a768db7eeb95a67b1cd45ef05f024d0e"}},{"ruleId":"D2","level":"warning","message":{"text":"InterleavingRecordBatchProvider._get_record_batches_shuffled (cognitive 19): InterleavingRecordBatchProvider._get_record_batches_shuffled has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5ffdc1c11e315c55873bfe71661969cd247d4a3524e24dbe25763686796480"}},{"ruleId":"D2","level":"warning","message":{"text":"PhoenixDataset._record_batches (cognitive 19): PhoenixDataset._record_batches has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 5 (7 pts), boolean chains 5 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2297}}}],"partialFingerprints":{"codehealthFindingId/v1":"38587fa02185f68e347608d2b4771d6bf122fe88b5219c75a8044ca6da4a9452"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrievalDataset.load_rows (cognitive 19): RetrievalDataset.load_rows has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/retrieval_dataset.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"639a6cdf51f09555d6e81d332890b49ec24dc3ef9d2c001c23eab12190649a9f"}},{"ruleId":"D2","level":"warning","message":{"text":"kafkaloader._cast_column (cognitive 19): kafkaloader._cast_column has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a892e2e4d0c4779da48abb354ea0d6653e7ec96fb5a5a6924accd3116732849"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadinessSupervisor.run (cognitive 19): ReadinessSupervisor.run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (15 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddeb650c7351126d94043a2b1fda88d8e6c107c1712375032de61aedc305b00"}},{"ruleId":"D2","level":"warning","message":{"text":"recsys_model.block_history_reduce (cognitive 19): recsys_model.block_history_reduce has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":2057}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abe6d32c911e88b3d381046c874b16d427d6aea5a9150b880f366ab25ecc68f"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTrainer.init (cognitive 19): RecsysTrainer.init has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 2, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"f02fb8a4852e791f82dbdce94c9fe566b05120a26717be8b22df58d76aa50742"}},{"ruleId":"D2","level":"warning","message":{"text":"aot.RetryFileLock (cognitive 19): aot.RetryFileLock has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 4 (7 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/aot.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24b77ab79355e31372ca51b8afb63632269d8e8df8f7fa35f32b8525a12b84d"}},{"ruleId":"D2","level":"warning","message":{"text":"HoldGate::check_timed (cognitive 18): HoldGate::check_timed has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 6 (7 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcec785ba6e545f9427f9ef38c352badc8d46cebfcf981c2d72f28af45a001d"}},{"ruleId":"D2","level":"warning","message":{"text":"Layout::choices (cognitive 18): Layout::choices has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/least_movement_blender.rs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"838edbbc1ed2a56c30d2471271466cf967e96991e05f8e3cee9a166244f88a18"}},{"ruleId":"D2","level":"warning","message":{"text":"DragonflySource::compare (cognitive 18): DragonflySource::compare has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (14 pts), match/switch 2 (3 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"safety-label-source/dragonfly.rs"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3265a6e47b42f8c096ad9f3b0f8b924e25269f3f851bb95e04129a09d8e554"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaEntity::write_to_out_protocol (cognitive 18): MediaEntity::write_to_out_protocol has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, loops 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/media_entity.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4894bae05f0071598fff5e6770dab70e234705579d8ba3d90019efee6ed6a460"}},{"ruleId":"D2","level":"warning","message":{"text":"Store::candidate_count_by_claimed_key (cognitive 18): Store::candidate_count_by_claimed_key has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/store.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaaf36b72cfa7ce55260011f1db26f888332c9c5da38eec60223939bf9746284"}},{"ruleId":"D2","level":"warning","message":{"text":"Store::edges_and_failed (cognitive 18): Store::edges_and_failed has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, loops 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/store.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"5120fbb0d8218f12f03a5d30b90e451e9da3251af75d48693de9324f9e84723c"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::bin::action_control_rollback::main (cognitive 18): crate::abuse-enforcement-service::service-lib::src::bin::action_control_rollback::main has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (8 pts), if/else 4 (6 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/bin/action_control_rollback.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1da8955acde8b35c48ac047087d19945517e362a35893f8f99a5f0d8f43456"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::side_effects::response_diversity_stats_side_effect::history_posts (cognitive 18): crate::home-mixer::side_effects::response_diversity_stats_side_effect::history_posts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/response_diversity_stats_side_effect.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb6bf289a76cc40d1869d4ee88428fd75d58753622f37ed5019455e0cf8fa07"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::util::urt::ad_marshaller::marshal_ad (cognitive 18): crate::home-mixer::util::urt::ad_marshaller::marshal_ad has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, boolean chains 1, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/ad_marshaller.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce75fe32e3368ab3cd5fee3e71f507b0ba6e64bd86a0ae6260d1a78ae77b1c5"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::copy_port_client::classify_shard_ownership (cognitive 18): xai_recsys_engine::copy_port_client::classify_shard_ownership has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (4 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"36816fc0161e3a9eac9b2c9443c544909b0c5843c251066aee533af8d5ea0219"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::copy_port_client::spawn_striped_trainer_downloads (cognitive 18): xai_recsys_engine::copy_port_client::spawn_striped_trainer_downloads has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (7 pts), loops 4 (7 pts), boolean chains 2, match/switch 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":1727}}}],"partialFingerprints":{"codehealthFindingId/v1":"9251f17614bd19df4e498ff640e397ce7cc108fe367b2be81b27e7ae38c25076"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::storage_util::download_prefix_to_local_async (cognitive 18): xai_recsys_engine::storage_util::download_prefix_to_local_async has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9f7b30a4319b2ac1a8471b2122e37793f8f276363900376f4a231a0c7e2e9b"}},{"ruleId":"D2","level":"warning","message":{"text":"TweetEmbedding::write_to_out_protocol (cognitive 18): TweetEmbedding::write_to_out_protocol has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, loops 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3de442328bfc4175836721d69a29de1e6556ae92dde4201c323f1c6d6be6e1f"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit0O3.createASTNode (cognitive 18): FunctionUnit0O3.createASTNode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (18 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit1O3.createASTNode, FunctionUnit2O3.createASTNode, FunctionUnit3O3.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd255bb9f60846e8b192b6e684eecd9beb7df9637403117dac63d8bb0a839ca5"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit1O3.createASTNode (cognitive 18): FunctionUnit1O3.createASTNode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (18 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O3.createASTNode, FunctionUnit2O3.createASTNode, FunctionUnit3O3.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1155}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b6c769390db196cacd761458e9bdee6ace3ff0b27e1c3f5fefa167ffce5246"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit2O3.createASTNode (cognitive 18): FunctionUnit2O3.createASTNode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (18 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O3.createASTNode, FunctionUnit1O3.createASTNode, FunctionUnit3O3.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2083}}}],"partialFingerprints":{"codehealthFindingId/v1":"947dae725a92b3147d1ac676676293e7f0879c8cbd199955622e92c74217fa5c"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit3O3.createASTNode (cognitive 18): FunctionUnit3O3.createASTNode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (18 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O3.createASTNode, FunctionUnit1O3.createASTNode, FunctionUnit2O3.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2145747d0b8d78c2e1cfb75e3e4bd0d1363ff5f154d4819cb0fd409aca90b6aa"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit4O3.createASTNode (cognitive 18): FunctionUnit4O3.createASTNode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (18 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O3.createASTNode, FunctionUnit1O3.createASTNode, FunctionUnit2O3.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4294}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3b0d1e07d204f0aad41a38372816c896abbd7e2cb7bab80a17dec8a1e19f96"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit5O3.createASTNode (cognitive 18): FunctionUnit5O3.createASTNode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (18 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O3.createASTNode, FunctionUnit1O3.createASTNode, FunctionUnit2O3.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5556}}}],"partialFingerprints":{"codehealthFindingId/v1":"151cd24ccce05b639e14652ce99d75f3f8be751e0f688edb6bf47b86933f39db"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit6O3.createASTNode (cognitive 18): FunctionUnit6O3.createASTNode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (18 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O3.createASTNode, FunctionUnit1O3.createASTNode, FunctionUnit2O3.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6904}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e25d63e615ef67fec69ee1a93cd9f2d5f5f57dcd5b94f87ee5f6db13951d0f0"}},{"ruleId":"D2","level":"warning","message":{"text":"FunctionUnit7O3.createASTNode (cognitive 18): FunctionUnit7O3.createASTNode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15 (18 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level. This shape REPEATS in the file: 7 other methods here (FunctionUnit0O3.createASTNode, FunctionUnit1O3.createASTNode, FunctionUnit2O3.createASTNode, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 8 times rather than 8 independent problems. Splitting this body alone leaves the other 7 exactly as they are. Where these are variations on one operation, the change that clears all 8 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8352}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfc9d345e2f750fd9d6eb08ee028a966f25031be788a146193bca560ec36a57"}},{"ruleId":"D2","level":"warning","message":{"text":"ScalaType.asJava (cognitive 18): ScalaType.asJava has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, match/switch 1 (2 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/compiler/types/ScalaType.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"613a1c8c97b01ee3ef3e23e79a28bbabcc936e934737069ea51ce53e63cffda1"}},{"ruleId":"D2","level":"warning","message":{"text":"TweetPairLabelCollectionUtil.getScoredCoengagedTweetPairs (cognitive 18): TweetPairLabelCollectionUtil.getScoredCoengagedTweetPairs has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 3 (4 pts) (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/tweet_similarity/TweetPairLabelCollectionUtil.scala"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f96d549f9f3487f62758bdd1fba5ad9fe27ce84483007a974e1e6f365ad69e"}},{"ruleId":"D2","level":"warning","message":{"text":"UthDailyPostsApp.countTweetFlagsOnBatchDay (cognitive 18): UthDailyPostsApp.countTweetFlagsOnBatchDay has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 1 (4 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthDailyPostsJob.scala"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff36fcbf3494dfa35c4761f3445ad6d2b54e9887f713559faadfa5b4eef3ae7"}},{"ruleId":"D2","level":"warning","message":{"text":"gizmoduck_age.get_user_age_hours (cognitive 18): gizmoduck_age.get_user_age_hours has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/gizmoduck_age.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4c7ecc25ceb72293f1b25f356f4e6b199746692832e3783277a328209b4194"}},{"ruleId":"D2","level":"warning","message":{"text":"mm_encoder._parse_encode_response (cognitive 18): mm_encoder._parse_encode_response has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, ternaries 1 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/mm_encoder.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bae6c1dfe98030ef690e17f96221c44fc8c9c26e0838ea00b26b17e0099212"}},{"ruleId":"D2","level":"warning","message":{"text":"rust_parquet_recsys._time_order_start (cognitive 18): rust_parquet_recsys._time_order_start has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, ternaries 1 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/rust_parquet_recsys.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"635264098fa9521b22cf00bb2e3c4b28625b8d8ede8483ee127045a758917b57"}},{"ruleId":"D2","level":"warning","message":{"text":"kafkaloader.auto_detect_auth (cognitive 18): kafkaloader.auto_detect_auth has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc87f66c3afc7d17555454181567a755660af7940a85d776d79dce1a34a30c73"}},{"ruleId":"D2","level":"warning","message":{"text":"recsys_feature_prep._build_user_features_token (cognitive 18): recsys_feature_prep._build_user_features_token has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_feature_prep.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5e5eb42acfdb7cfee18ca0b7e2c1eaa57cdab530c30e3f9718bf3b439f09a6"}},{"ruleId":"D2","level":"warning","message":{"text":"recsys_model.pad_to_next_128_multiple (cognitive 18): recsys_model.pad_to_next_128_multiple has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":2262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6530ac01a38edd2a34d8a1069b04b1438cbcabb0ad45049902f0b674dfda9f41"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTrainer._segment_sum (cognitive 18): RecsysTrainer._segment_sum has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (18 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41e319ce58da2e78a7f973870183221df590e927f046a2666c7da0799614590"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTrainer._retrieval_checkpoint_datasets (cognitive 18): RecsysTrainer._retrieval_checkpoint_datasets has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":3964}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc23ff1ffff79e66010af6ce047541bfc1d66f1903b27d95049ffcfdbfdc33d"}},{"ruleId":"D2","level":"warning","message":{"text":"orbax_encrypted.get_encrypted_checkpointer (cognitive 18): orbax_encrypted.get_encrypted_checkpointer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/training/xai-checkpointing/xai_checkpointing/orbax_encrypted.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"690ee5fe53716265ad79fce2fa6a8b3cb88af10e4c96bec83483b7ecceb3a692"}},{"ruleId":"D2","level":"warning","message":{"text":"TwitterCLIP.__init__ (cognitive 18): TwitterCLIP.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 4 (5 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clip/model.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"05dafb234e49662ba94cc162e140e9f497672a0961e9134bfa2955ab5e140b54"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskSafetyPtosKeyFramesFilter._eligible_with_post (cognitive 18): TaskSafetyPtosKeyFramesFilter._eligible_with_post has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 6 (7 pts), ternaries 2 (3 pts), loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_key_frames_filter.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46fbe85a0ba9fdaa6774709892baea8f786823a92c1c78d442830d5198895d6"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskSafetyPtosSafemodelSexNudity._run (cognitive 18): TaskSafetyPtosSafemodelSexNudity._run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 4, boolean chains 2, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab5844ee70262a6980d1aeaee06a78495ef5a6204e515c56f408a2e795a8920"}},{"ruleId":"D2","level":"warning","message":{"text":"FrameSampler._frames_at (cognitive 18): FrameSampler._frames_at has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/frame_sampler.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae70097b29cb8948801996b78de68f66c15eb95acc9d24d293bdd853bfddf3a1"}},{"ruleId":"D2","level":"warning","message":{"text":"Place::read_from_in_protocol (cognitive 17): Place::read_from_in_protocol has cognitive complexity 17 (threshold 15). Drivers by points: loops 5 (13 pts), if/else 1 (2 pts), match/switch 1 (2 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"a747cc04ac1c8de63d3c4f00b9d0aed4ec423681ade75624eb550324e5624bd1"}},{"ruleId":"D2","level":"warning","message":{"text":"Profile::write_to_out_protocol (cognitive 17): Profile::write_to_out_protocol has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":4502}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65a369d8f38f0747926821f432ddb07f4faa9d1fffb2b9659612eb17d4ed5ab"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::abuse-enforcement-service::service-lib::src::service::enforce_actions (cognitive 17): crate::abuse-enforcement-service::service-lib::src::service::enforce_actions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), match/switch 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59bec31f16a2bb1b63db93932a5a5dae426ef95018409c04e83123a0905c424"}},{"ruleId":"D2","level":"warning","message":{"text":"SimClustersANNCandidateSource.fetchCandidates (cognitive 17): SimClustersANNCandidateSource.fetchCandidates has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/candidate_source/SimClustersANNCandidateSource.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3060ce1feffa524c6648a377aa7b4d54c9f5781b87d921ca3382fc331d3caebf"}},{"ruleId":"D2","level":"warning","message":{"text":"EntityEmbeddingUtil.getEntityUserMatrix (cognitive 17): EntityEmbeddingUtil.getEntityUserMatrix has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (14 pts), boolean chains 1, if/else 1, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/embedding/common/EntityEmbeddingUtil.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd54e4dae25e8185c895a28a7c68fb3c46d6ca9e5ba569d9afda2a49d83c1cf"}},{"ruleId":"D2","level":"warning","message":{"text":"AccountLabelEvents.deltaEventsPipe (cognitive 17): AccountLabelEvents.deltaEventsPipe has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (14 pts), if/else 2, boolean chains 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/AccountLabelEvents.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b4e25e028259b057113366cb5921f79e23ff54fa333658a8c3aebd38db5f3f"}},{"ruleId":"D2","level":"warning","message":{"text":"UthGizmoduckSafetyFlagDailyBackfillApp.labelDiffsPipe (cognitive 17): UthGizmoduckSafetyFlagDailyBackfillApp.labelDiffsPipe has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (14 pts), if/else 2, boolean chains 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/legacy_experimental_adhoc/UthGizmoduckSafetyFlagDailyBackfillJob.scala"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4dff7b2edce65d293f4e2db5ba4b81b0720495371a0cd8ebb189de0894289a"}},{"ruleId":"D2","level":"warning","message":{"text":"load_backbone.load_params (cognitive 17): load_backbone.load_params has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/load_backbone.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8500fd7e44c2a89be42525452d398343e5c6162a6ee834a57b52569839bcd977"}},{"ruleId":"D2","level":"warning","message":{"text":"parquet_recsys.load_global_ids_from_parquet_file (cognitive 17): parquet_recsys.load_global_ids_from_parquet_file has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 2 (5 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f340528ad7f42c36fde01e9b14c5fd17eab20e705c91102b62907c487b56f9d1"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchManifest.batch_timestamps (cognitive 17): BatchManifest.batch_timestamps has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (6 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys_metadata.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e745903328ee27103f6eeda8c2f98048e7c5bd0f9beb772774f27b4af80f24f1"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysAggregatedModel._add_side_inputs (cognitive 17): RecsysAggregatedModel._add_side_inputs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":3770}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf497bb3c85b98d78417260999e94d157e33208e2d7dd603b58847f4f7c1effa"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysAggregatedModel.__call__ (cognitive 17): RecsysAggregatedModel.__call__ has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 2, ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":4495}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae7e6424fa0fdd4175f3ed5b3de55ba61cb5df70e1d1a211facb8179113b20c"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTwoTowerModel.build_user_inputs (cognitive 17): RecsysTwoTowerModel.build_user_inputs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), ternaries 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_two_tower_model.py"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"f144767ac5078196cf466eda4f7acff7376ee9401710306ae3a94450573b43af"}},{"ruleId":"D2","level":"warning","message":{"text":"ThrottledD2HArrayHandler.serialize (cognitive 17): ThrottledD2HArrayHandler.serialize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 3 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/checkpointing.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d5db20eb2085baedb30b76aa6a242bcecf6bd37d35da105991117222923508"}},{"ruleId":"D2","level":"warning","message":{"text":"checksum.get_checksum_dict (cognitive 17): checksum.get_checksum_dict has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/training/xai-checkpointing/xai_checkpointing/checksum.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d518c68e89a767b5f69bc3495fad11d44762e74f8dc1dbffa8fb4a2204fba4c2"}},{"ruleId":"D2","level":"warning","message":{"text":"load.load_checkpoint (cognitive 17): load.load_checkpoint has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), loops 3 (6 pts), ternaries 2 (3 pts) (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/training/xai-checkpointing/xai_checkpointing/load.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"90fb7a5006e9fb8977599fe2c4791d57407b6cb8f96585d9f699d8c37ba0a4ef"}},{"ruleId":"D2","level":"warning","message":{"text":"PostMapper.from_post_metadata_strato (cognitive 17): PostMapper.from_post_metadata_strato has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, ternaries 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/post_mapper.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a16ccb89784ad640972dba5394b0a3a48aa03ded7f57186353ee29bcade204"}},{"ruleId":"D2","level":"warning","message":{"text":"Dispatcher._result_loop (cognitive 17): Dispatcher._result_loop has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/dispatcher.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e12f021ec2a64c61fc15150ae11ea07eb8c0a38412e5632e25d8facd00c545"}},{"ruleId":"D2","level":"warning","message":{"text":"ThreadRenderer._render_signals (cognitive 17): ThreadRenderer._render_signals has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (17 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/lm/thread.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e57da5dbf7cbb7ebe04487f98175517a3cadebf57708cddb604a8b2d629b46b"}},{"ruleId":"D2","level":"warning","message":{"text":"CoordinatedSpamScorer._parse (cognitive 17): CoordinatedSpamScorer._parse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9ab69154d1c571b57404efeabeb9aab59edc2137a0810cbffcc2e22adfbb03"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiStepReplySpamScorer._parse (cognitive 17): MultiStepReplySpamScorer._parse has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_multi_step_reply_spam.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1118fdf4cf4c3be0613e9dbb027ac41f1d576e22584f3eecaa5bd160de3ffc5c"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiRegionKafkaConsumer.poll (cognitive 17): MultiRegionKafkaConsumer.poll has cognitive complexity 17 (threshold 15). Drivers by points: loops 3 (6 pts), ternaries 2 (6 pts), if/else 3 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_consumer.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f611c07a2b1227e4e95173c07f89b68a0c4f07078edc95acd2b9eec1444cf765"}},{"ruleId":"D2","level":"warning","message":{"text":"Backfill::finish_start (cognitive 16): Backfill::finish_start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f990827596d82e5950497ebf92fe2bdff01664c50a00bae48039836379fad4"}},{"ruleId":"D2","level":"warning","message":{"text":"TweetTypeMetricsHydrator::slate_position_bits (cognitive 16): TweetTypeMetricsHydrator::slate_position_bits has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/tweet_type_metrics_hydrator.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0a28bbef2f59f3ca47c69c6a469f3dddf275b7340c14ad55c6d32b868b51b2"}},{"ruleId":"D2","level":"warning","message":{"text":"MessagingDevice::write_to_out_protocol (cognitive 16): MessagingDevice::write_to_out_protocol has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":12808}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81289f72076551f516fc90c35102e34b09185953a3599077424c5cc7ecf1ecf"}},{"ruleId":"D2","level":"warning","message":{"text":"ThunderServiceImpl::get_in_network_posts (cognitive 16): ThunderServiceImpl::get_in_network_posts has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, match/switch 1 (2 pts), boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/thunder_service.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb60779980a9b1600096c8515f557bd4659314f68da9a1925b3939bfd9f7b00"}},{"ruleId":"D2","level":"warning","message":{"text":"HydrationPlan::hydrate (cognitive 16): HydrationPlan::hydrate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/execute.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e6a1fc52fc4a028a015a1df84654b13c77059529f659cb789f59a0a00529a4"}},{"ruleId":"D2","level":"warning","message":{"text":"HydrationPlan::fmt (cognitive 16): HydrationPlan::fmt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (6 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/plan.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4949fa3bf4f2d6564438d7f2a87f549761fa7e0df3ac26adf6acf1bf692a467c"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::home-mixer::util::video_carousel::take_distinct (cognitive 16): crate::home-mixer::util::video_carousel::take_distinct has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, match/switch 1 (2 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/video_carousel.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a107c123d05fe882b42347a78a6f39b3ac29a043c75067edb2640c440b2ef0"}},{"ruleId":"D2","level":"warning","message":{"text":"crate::vm-ranker::dpp::rescore (cognitive 16): crate::vm-ranker::dpp::rescore has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (13 pts), loops 2 (3 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vm-ranker/dpp.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ac59fc20eff197b99928332a8576fb41eabe941e0fe733d4ba084545d37ec8"}},{"ruleId":"D2","level":"warning","message":{"text":"PacedBody::poll_frame (cognitive 16): PacedBody::poll_frame has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 4 (11 pts), if/else 2 (4 pts), loops 1 (nesting depth added 9). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy_manifest.rs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"909ec71aa8f5599469531447b6e9d133d9c28a7422ffa818ec0e8ed85b7de2cc"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestQueue::with_batch_wait (cognitive 16): RequestQueue::with_batch_wait has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (6 pts), loops 3 (5 pts), match/switch 2 (5 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/request_queue.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f05d7f886631d603960d50480323145518113903b552dabf7a234d7aa1b0a03"}},{"ruleId":"D2","level":"warning","message":{"text":"xai_recsys_engine::checkpoint_proxy::download_channel_files (cognitive 16): xai_recsys_engine::checkpoint_proxy::download_channel_files has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (5 pts), match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/checkpoint_proxy.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dd0423204b540f79aaa001b40bd3e9945b15a8b85318164fb0c8fc1a777412"}},{"ruleId":"D2","level":"warning","message":{"text":"ScalaType.ofType (cognitive 16): ScalaType.ofType has cognitive complexity 16 (threshold 15). Drivers by points: if/else 16. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/compiler/types/ScalaType.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e5011fbbc7a85ac3332ba15666c7a694e6523bf3f82b19bbc262035dcd5aa9"}},{"ruleId":"D2","level":"warning","message":{"text":"CompiledEvaluator.run (cognitive 16): CompiledEvaluator.run has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (7 pts), match/switch 5 (7 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/rule/RuleEvaluator.scala"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd14c07d4c0dbf22def6fe67301d274ae93099609425cac8327da8b9f0606c1"}},{"ruleId":"D2","level":"warning","message":{"text":"SimClustersEmbedding.sum (cognitive 16): SimClustersEmbedding.sum has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/common/SimClustersEmbedding.scala"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"883c938410097e74722ce06ec09fdaa1bd372f4a53664a4c3075a93061d60b45"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterEvaluation.summarizePerClusterResults (cognitive 16): ClusterEvaluation.summarizePerClusterResults has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/ClusterEvaluation.scala"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36efbadcd345f5f5eb654049ca5336b3d9dea4cdcc56d0a6ac9b6c0c41106d0"}},{"ruleId":"D2","level":"warning","message":{"text":"TopUsersSimilarityGraph.convertIterableToGraph (cognitive 16): TopUsersSimilarityGraph.convertIterableToGraph has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b4b08dfa5b414b7208ae1e1efffcab69c32ae3cd2eba193a462963ea6c0e2b"}},{"ruleId":"D2","level":"warning","message":{"text":"LocaleEntitySimClustersEmbeddingV2Job.prepareNounToUserMatrix (cognitive 16): LocaleEntitySimClustersEmbeddingV2Job.prepareNounToUserMatrix has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (14 pts), if/else 1, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingV2Job.scala"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a436fc3c7dcd91bc37597b250575e877185db5a5ceb5751462b43b20be761f"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturesOfRtpCaseUpdateEvent.processEvidenceFields (cognitive 16): FeaturesOfRtpCaseUpdateEvent.processEvidenceFields has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfRtpCaseUpdateEvent.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"1254d554718e9f8fe3da7e6f190750f0ff58d3cd1e4153e8eebdb5dc27562d66"}},{"ruleId":"D2","level":"warning","message":{"text":"FeaturesOfXchatMessageEvent.apply (cognitive 16): FeaturesOfXchatMessageEvent.apply has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (16 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfXchatMessageEvent.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e960a3e59c404de07be77f7776ddcb726b7e9fd12c35eb1cb483723189b06e"}},{"ruleId":"D2","level":"warning","message":{"text":"Parser.parseParams (cognitive 16): Parser.parseParams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Parser.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5631068f920446cf67808c29247da4ad4f7b5616954e9ffbb3410cb4653de229"}},{"ruleId":"D2","level":"warning","message":{"text":"FlashAttentionForwardSm100.load_KV (cognitive 16): FlashAttentionForwardSm100.load_KV has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 4 (5 pts), boolean chains 2 (nesting depth added 4). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":2898}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcaff68d76d3b96041195f604c9a6b884a04d5990d38b1f0804fe7e989dd865c"}},{"ruleId":"D2","level":"warning","message":{"text":"PhoenixDataset.example_data_shape (cognitive 16): PhoenixDataset.example_data_shape has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 3, ternaries 3, loops 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2636}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3adee41d5086237751ca0680395daa9125bd1e608c41da931c7f30e4d4a1527"}},{"ruleId":"D2","level":"warning","message":{"text":"sequence_packing._drop_candidates_over_budget (cognitive 16): sequence_packing._drop_candidates_over_budget has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (6 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/sequence_packing.py"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80fdbc0d1cf6f79d8088e0ee9df5d8ae909eca69108f16a700059b5ef8dfdf9"}},{"ruleId":"D2","level":"warning","message":{"text":"kafkaconsumer.deserialize_messages (cognitive 16): kafkaconsumer.deserialize_messages has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, error handling 2 (3 pts), loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"635ebc06e788f0288876c8795da65009d32d2b2e087410e9c6493f545143b0e0"}},{"ruleId":"D2","level":"warning","message":{"text":"kafkaconsumer.handle_topic_offset (cognitive 16): kafkaconsumer.handle_topic_offset has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 4, loops 2 (3 pts), ternaries 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a92bb0c10d13a553bb135d025e4eb3d93850967f8d279dc1046fd2734188974"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrievalModelRunner._build_eligible_mask (cognitive 16): RetrievalModelRunner._build_eligible_mask has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 3, ternaries 2 (3 pts), loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":5032}}}],"partialFingerprints":{"codehealthFindingId/v1":"101572722011a7460bd86d4d88fab7618c3c2cb090d806b5c06bdf6f54da53a8"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysAggregatedModel.compute_engagement_count_metrics (cognitive 16): RecsysAggregatedModel.compute_engagement_count_metrics has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (6 pts), loops 2 (3 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":2949}}}],"partialFingerprints":{"codehealthFindingId/v1":"d458a71f79abf8dbf107fdc327409a2d44dac924bbe2eaa8613771bc07392345"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTrainer.__post_init__ (cognitive 16): RecsysTrainer.__post_init__ has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"d517d0960fd9da58c48349d7a266d3d6755a098c5b8efc16c2a8bd9d0d121cf6"}},{"ruleId":"D2","level":"warning","message":{"text":"RecsysTrainer._validate_follow_data_end (cognitive 16): RecsysTrainer._validate_follow_data_end has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd47a719ab311a27007b32f80f7ccf1684c6ea53c1ef29426a730aed7b7b6cf"}},{"ruleId":"D2","level":"warning","message":{"text":"aot.cutlass_module_device_digest (cognitive 16): aot.cutlass_module_device_digest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), boolean chains 4, loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/aot.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"560783a07dfd9399ff10bc44cea014fbc79381cd6bd31405e90ffe4e65f2463c"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaProcessor._result_loop (cognitive 16): MediaProcessor._result_loop has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 2 (4 pts), ternaries 1 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_processor.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f20ab13e81971da056c57c9a034f14e65c7dc6e37f91f11b0d347dc562fc11a"}},{"ruleId":"D2","level":"warning","message":{"text":"V82EmbedPostRenderer._card_block (cognitive 16): V82EmbedPostRenderer._card_block has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f73df1a53b397ecc29e49cd63f0d43eb8742b10c571e8a5d38fae18983d354"}},{"ruleId":"D2","level":"warning","message":{"text":"V8SearchEmbedPostRenderer._card_block (cognitive 16): V8SearchEmbedPostRenderer._card_block has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v8_search.py"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89ef37d2e3ff52f1a6c8b846abf6ee4598fd5548d6da6fd8276cf35841e95ea"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskSafetyPtosPolicyDetection._exec_with_post (cognitive 16): TaskSafetyPtosPolicyDetection._exec_with_post has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 2, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_policy.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"480a0a0cc5a5bc12cda1f1c735c25badfc232ff284c4cdfb55aa8bec3c17ea19"}},{"ruleId":"D2","level":"warning","message":{"text":"EapiSampler._extract_details (cognitive 16): EapiSampler._extract_details has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, if/else 4, loops 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/eapi_sampler.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b8a83628b356adabacb75062d574c05d21bff983e38bce206c9e27c49f9ef1"}},{"ruleId":"D2","level":"warning","message":{"text":"FrameSampler._sample (cognitive 16): FrameSampler._sample has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/frame_sampler.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f0a9552863e7819d3d53650ff559ce3c00fd22873a40a483609076eea9dfd0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/user.rs: FileTooLong \u2014 10959 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 10459 over it, 21.92\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca7267aaef4176bd53e43d358f7fe2ae79ca532d8412d640b27eee73f64f016"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: botmaker/FunctionUnitGen.scala: FileTooLong \u2014 10741 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 10241 over it, 21.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ecade48670e6287c878584658d988958d6cd0b2c3a57b54fc10e911d6435c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/recsys_model.py: FileTooLong \u2014 4821 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4321 over it, 9.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43be03968341097ac53a5b89f74f5b09650a6f3b556e0010f5aea0b865f188bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inference/model_runner.py: FileTooLong \u2014 4672 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4172 over it, 9.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2491f5c2601e72dc5dd72b45bffe3afd08d14969e212e6cc5ea902509231ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/tweet.rs: FileTooLong \u2014 3935 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 3435 over it, 7.87\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc53cfe410b42ca15fbc8f4285e7fc9df2e0194c3224f98941a59255cd984c83"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: train/trainer_recsys.py: FileTooLong \u2014 3677 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3177 over it, 7.35\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"365bb09eb30431638b3d55cf2d48a72c95595da2e673be02057373340cfbe9d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/events.rs: FileTooLong \u2014 3484 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2984 over it, 6.97\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9067cdb3b947b89c0d1368ffde0166187257cd84b90abc5fa2e68be2a6b97ba1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RankingBatchPrep.compute_batch_inputs_rust_quick: MethodTooLong \u2014 compute_batch_inputs_rust_quick runs 604 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 504 over it, 6.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"85aadfc94c571cf9cc9a34af70a6ad73b549b7537cb52bed750216abea891e4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/python.rs: FileTooLong \u2014 2988 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 2488 over it, 5.98\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cee6da5858c0a880325939d254cb081f0e84430a624cacba6989ef80824fca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 2697 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 59 free functions. The bar is 500 significant lines; this is 2197 over it, 5.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f83e0a72d6f67f7f747384d1808b30f5ab65ca40a5dd4f94241b197450a4f56"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/parquet_recsys.py: FileTooLong \u2014 2553 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2053 over it, 5.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bf9e146e362d0d01c9f46547ac7eb0d4c7cebb7489f0be940312d3a4f66da5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/recsys_two_tower_model.py: FileTooLong \u2014 2552 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2052 over it, 5.10\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_two_tower_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba115d13941d536fe91359f348c1fd4be425ecbd98e7fb52b80b8ea54bbcb0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ranker_fa4/flash_fwd_sm100.py: FileTooLong \u2014 2519 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2019 over it, 5.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73524019aa3068f9e1c553fad7aa25607a1f37c5e7e45d56a4897e145432318"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/service.rs: FileTooLong \u2014 2356 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 69 free functions. The bar is 500 significant lines; this is 1856 over it, 4.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a861eb0bce5c65c4d48eacdcb0ac4697d1a615c4853b7a80b57bdfffab764b93"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit2O11.fingerprint: MethodTooLong \u2014 fingerprint runs 449 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 349 over it, 4.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11237}}}],"partialFingerprints":{"codehealthFindingId/v1":"964169a9ebb868a136ff5764d1544f90d3f163f9864c7ae17c6409847dbf84c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: recsys/recsys_batch.py: FileTooLong \u2014 2074 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1574 over it, 4.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07d6c84b781ead041097901970c472fc0852350c6bddaab5982aaf4309ddece"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InputBuffer.compute_from_columnar_bytes: MethodTooLong \u2014 compute_from_columnar_bytes runs 384 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 284 over it, 3.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca302031f0d239addfab5fdeaec9f5980c5d239eaa4a2d4ff804ea55ee328bd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::rules::golden_corpus::age_verification::rows: FunctionTooLong \u2014 crate::visibility-filtering::rules::golden_corpus::age_verification::rows runs 384 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 284 over it, 3.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/age_verification.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"524da08b7f76cea6ffbdc6b0a022b998b9e4ca1e8fb6232784ba2268db306d48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/action_control.rs: FileTooLong \u2014 1887 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1387 over it, 3.77\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b18094b70cf37416877a994ea77c05534a3ce2b2df5f4211960e8cedd2aae9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pallas/ranker_attention_varlen.py: FileTooLong \u2014 1857 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1357 over it, 3.71\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbbeceb3a5b219ee21397a1a2f3de0ece94e18c96b18fa74200afa1b1a8d0c5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PhoenixCandidatePipeline.prod: MethodTooLong \u2014 prod runs 364 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 264 over it, 3.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cd7772196240730d7beb44e30b66378066090b03816eec5c6c3851521b9206"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnnotationValue.read_from_in_protocol: MethodTooLong \u2014 read_from_in_protocol runs 354 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 254 over it, 3.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":4926}}}],"partialFingerprints":{"codehealthFindingId/v1":"036d3b0bd59ec11b6a26e16a8c43488c9fee16fb295055fd6998d2833c793189"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Account.read_from_in_protocol: MethodTooLong \u2014 read_from_in_protocol runs 354 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 254 over it, 3.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":6052}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6ca3745ce01b87d763f8f6232b2386c06b06ab91d281799b0337dd56546778"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: streaming/kafkaconsumer.py: FileTooLong \u2014 1750 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1250 over it, 3.50\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b45b07a431215fd3a181b04fe09be29e6138b18460ab48d2130e8d53f2bedf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit2O9.fingerprint: MethodTooLong \u2014 fingerprint runs 350 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 250 over it, 3.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2f1273c7ede9a75e605a8902f270f29c6a32c929cfb4565912bb5438320aae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: abuse_score_accumulator::main: FunctionTooLong \u2014 abuse_score_accumulator::main runs 346 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 246 over it, 3.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cd636e22481a050a98637c4b74f87c6118acbfd29b6291ec3ec54e25ef4eff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit3O8.fingerprint: MethodTooLong \u2014 fingerprint runs 334 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 234 over it, 3.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":12269}}}],"partialFingerprints":{"codehealthFindingId/v1":"745238f1f3a6564f7f7756f3e3174c82947183836a89be94ce1a3c4b56bd59b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/util.rs: FileTooLong \u2014 1619 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 72% of them inside a single declaration: InputBuffer (3 blocks, 586-2088). The bar is 500 significant lines; this is 1119 over it, 3.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ace5329bb2da80a20225a2db41cbf80429ca4683dad412321b9a0c9ce4c5e89"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: streaming/kafkaloader.py: FileTooLong \u2014 1599 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1099 over it, 3.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76880fafb71efefc53d8d395e86c8af6db775bc4e011d68273ad0d183ff17454"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Serializer: ClassTooLong \u2014 1269 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. The bar is 400 significant lines; this is 869 over it, 3.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7319bdd78d48ef010f2800b5e62cc4be7156e678798339a013d25c7353a080"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: KeyOrigin.spec: MethodTooLong \u2014 spec runs 316 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 216 over it, 3.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/store/key_origin.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf33af1237170f0002c6db706e3cf950edba4d917b66e50eb1b602a8d1fddbf"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit4O7.fingerprint: MethodTooLong \u2014 fingerprint runs 315 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 215 over it, 3.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9657}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9b32367619ef75b3d78240f5a4a9d660bbf02865abc92c19ed99003c761061"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RecsysTrainer: TooManyMethods \u2014 94 methods. The bar is 30 methods; this is 64 over it, 3.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a83ef418647467ef9a6c204b5263badb831a82430c0702a9c7b109303f0bb7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit2O8.fingerprint: MethodTooLong \u2014 fingerprint runs 305 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 205 over it, 3.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10855}}}],"partialFingerprints":{"codehealthFindingId/v1":"168e14f3d7617813f289dc67a4f31b31fefeb71f90f93921db0db6105d9c68fd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Compiler: ClassTooLong \u2014 1209 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 400 significant lines; this is 809 over it, 3.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"02851fa5844b09ef3488d0a2e8a1c5afdf5f45b274fc73d0d2c135cecd5d455e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActionControl.set_rows: MethodTooLong \u2014 set_rows runs 302 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 202 over it, 3.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control/levels.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a03266db15f8b4ef9f693b724c8064cdd0b16f0b60f9953fa47b111cf6dfaf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/storage_util.rs: FileTooLong \u2014 1509 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 1009 over it, 3.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed37ddf95845a9a40d7ff7d7e084d1e9cf77cafadd9e3670f370f2e1b45c527"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/copy_port_client.rs: FileTooLong \u2014 1495 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 42 free functions. The bar is 500 significant lines; this is 995 over it, 2.99\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"861adcd5bca6b6ff3b2081503a3d4e3c1bac769f95e145dec25262b6729ad236"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PostCandidate: TooManyFields \u2014 88 stored fields. The bar is 30 stored fields; this is 58 over it, 2.93\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/models/candidate.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8c8543c4d0d29a1ec99b01aa0783391ce4a866960a49528b35abd03b1e6008"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InputBuffer: ClassTooLong \u2014 1162 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 16 methods, 3 blocks, lines 586-2088. The bar is 400 significant lines; this is 762 over it, 2.91\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d305cca57138584e2dea1c8be2c839b995757952b968875cd9c0959bbdb1540"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/score_results_sink_focal.py: FileTooLong \u2014 1451 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 951 over it, 2.90\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2121bec7365b889e218cdee2fc6045f753a583779f398cfefaaa580ec4f2eb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InputBuffer.compute_for_item: MethodTooLong \u2014 compute_for_item runs 290 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 190 over it, 2.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc25dd3e0373367a131329e9f671d8726f6473d1fe5b298589d487ee5f4f9333"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit7O5.fingerprint: MethodTooLong \u2014 fingerprint runs 288 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 188 over it, 2.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8875}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bee94b38e2cde939f5b04df44c952c0dff200c0bf643836fecb227e0dfb451"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Safety.read_from_in_protocol: MethodTooLong \u2014 read_from_in_protocol runs 284 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 184 over it, 2.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":9009}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ac7fc71460cc7b769e96e9d24757f2eda5d4b277623a91325f340e3f89f706"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Account.write_to_out_protocol: MethodTooLong \u2014 write_to_out_protocol runs 277 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 177 over it, 2.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":6480}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cc635def3f6d368939b86e1d0402987a497468d736d2abb2ccdb2f3b6160ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/overturn_hold.rs: FileTooLong \u2014 1367 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 867 over it, 2.73\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bedbe1cf0f9e948da9c330e01677db901b146780c0532a954265d46d2870c47"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit6O5.fingerprint: MethodTooLong \u2014 fingerprint runs 268 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 168 over it, 2.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7394}}}],"partialFingerprints":{"codehealthFindingId/v1":"235e11ae46d83e767821ae11af3ff55216ec5d2e9090bd3f404f1310aab9ebdb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ScoredPostsQuery: TooManyFields \u2014 80 stored fields beside 4 methods. The bar is 30 stored fields; this is 50 over it, 2.67\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/models/query.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"93cd54497d887f6b33d61acee223eb883e627179c65fbc263bad76c02d559852"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RetrievalBatchPrep.compute_batch_inputs_rust_quick: MethodTooLong \u2014 compute_batch_inputs_rust_quick runs 266 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 166 over it, 2.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":2407}}}],"partialFingerprints":{"codehealthFindingId/v1":"967407bb25e6e86f588f5e2226217335dec102fcda642a08c81e4d5812111698"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: abuse_v3_features::extract_batch: FunctionTooLong \u2014 abuse_v3_features::extract_batch runs 264 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 164 over it, 2.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/abuse-v3-features/src/lib.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1a2140bf37cd3d2d93cd1381f955ab93ed28edbcd4fb51d65733bf5dab8195"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit2O7.fingerprint: MethodTooLong \u2014 fingerprint runs 263 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10524}}}],"partialFingerprints":{"codehealthFindingId/v1":"01200e36794a98acaa8bc88b064be632167119b94562231b60ba4bd38ae49b2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/Serializer.java: FileTooLong \u2014 1312 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: Serializer (49-1903). The bar is 500 significant lines; this is 812 over it, 2.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcc96598fee51aa9228cd3bc1a06a3e94359355037068fb1ed4b8e8e7d8dc71"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: train/trainer.py: FileTooLong \u2014 1309 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 809 over it, 2.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55d37beac4ea7d7f6d92a761b2992aca5dddb668be3f00f4f27dacac5413858"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::rules::golden_corpus::post_notifications::post_cases: FunctionTooLong \u2014 crate::visibility-filtering::rules::golden_corpus::post_notifications::post_cases runs 261 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 161 over it, 2.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/post_notifications.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"922b7cca430418913cde9e31f2f0df830bcfa402306e886ad5bf77b015f40215"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: compiler/Compiler.java: FileTooLong \u2014 1282 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: Compiler (79-1617). The bar is 500 significant lines; this is 782 over it, 2.56\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad5a436ab436bdf8e8623683036ffa71c21b485f86aee7afc5fc9cd69ed30db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/tweet_events.rs: FileTooLong \u2014 1279 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 779 over it, 2.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet_events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9d8931e439f6acfecca4adb078ae236c175d938fea976b6277e99c2bb43e13"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: train/recsys_bundle_export.py: FileTooLong \u2014 1270 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 770 over it, 2.54\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/recsys_bundle_export.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98f91597909d64fce1c9b1de8e6553b68d8f96765d455e8e6849fdf4386b107"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pallas/ranker_attention_fa3.py: FileTooLong \u2014 1267 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 767 over it, 2.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec40fa4a537ebd5eaf59c62cd2f17c376b29efe1db1afc32241378679d7888dd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit5O5.fingerprint: MethodTooLong \u2014 fingerprint runs 248 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 148 over it, 2.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6015}}}],"partialFingerprints":{"codehealthFindingId/v1":"570602293c61b73da6d1a6f5e399f4dc996a7f5da78aba511e3cc1b0c0c69d45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/emb_table.rs: FileTooLong \u2014 1234 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 32 free functions. The bar is 500 significant lines; this is 734 over it, 2.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ce7c68386f3bf4ac47b31b13e9f120cd416dd6c236dc3d41287d672952e111"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseModelRunner: TooManyMethods \u2014 74 methods. The bar is 30 methods; this is 44 over it, 2.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b06aaf0887e99d3647f3440c096565a1d4118b2ad37d1743a5591348f9d093"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Store: TooManyMethods \u2014 73 methods, declared across 6 files: hydration/store.rs (38), store/quotes.rs (10), store/resolve.rs (10), store/edges.rs (6), \u002B2 more file(s). The bar is 30 methods; this is 43 over it, 2.43\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/store.rs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f639ff0cb7ff823ff7cdc2c517c02316a9cb25d66aa8a1f43031973fc83b05"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit7O4.fingerprint: MethodTooLong \u2014 fingerprint runs 240 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 140 over it, 2.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8575}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22b80b0025ccd8f213c63232a8db810b27b218ceee3ba7c8dc7fe9f380fb734"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AnnotationValue.write_to_out_protocol: MethodTooLong \u2014 write_to_out_protocol runs 240 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 140 over it, 2.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":5387}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f055f82cf0b25d1c01f9e8b6d9222dbc7b7e5b539bacb79c957cc1d304791dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::rules::golden_corpus::interstitial::rows: FunctionTooLong \u2014 crate::visibility-filtering::rules::golden_corpus::interstitial::rows runs 239 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/interstitial.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2cfbf7f4789a458db68e220981f439c7ec9fb5ed9d940176c8a32c9d23c379"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/recsys_feature_prep.py: FileTooLong \u2014 1192 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 692 over it, 2.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_feature_prep.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7f1c2da3fe1555e68b12c8883e8d6f5c3700e0eadb856517eea07ef4938e33"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Event.read_from_in_protocol: MethodTooLong \u2014 read_from_in_protocol runs 234 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 134 over it, 2.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":4137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e510d0a90477cbb4086e0517fda19b96b66fcf3923cbda09b0a4b36b0c1267e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Hydrator.spec: MethodTooLong \u2014 spec runs 230 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 130 over it, 2.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/hydrator.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c501778cbd564d3745bab196fc3c23735634a0f1e31cb24a8658ff077b94d6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit4O5.fingerprint: MethodTooLong \u2014 fingerprint runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4722}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb75e7849c000ad4cd21550472623369e4f940d1e97b8cd7a4e35ae47b266489"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Account: TooManyFields \u2014 68 stored fields beside 1 method. The bar is 30 stored fields; this is 38 over it, 2.27\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":5905}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdf5796d27038590f65ad4a9169972f166d90ad46008e8f6c815967212e929e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit2O6.fingerprint: MethodTooLong \u2014 fingerprint runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10243}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd402334e7aef6236d3586267f4c2417fddd8fe0c4503cb5dd389d76b3dd739"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit6O4.fingerprint: MethodTooLong \u2014 fingerprint runs 223 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 123 over it, 2.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce79bb3778ec6d2944298a7f41b70a501cc0fd19fffaba6852ba9c34785b18cc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Safety.write_to_out_protocol: MethodTooLong \u2014 write_to_out_protocol runs 221 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 121 over it, 2.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":9353}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd74bdba4b80c62f790cd3766974e146f1726372759dd53ba8730a6e658a4670"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Compiler.createASTNodeTree: MethodTooLong \u2014 createASTNodeTree runs 219 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 119 over it, 2.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6e1a922c2118ce0fc89523c9f6173ce79491460113635a840342c6b4801e88"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HoldGate.evaluate: MethodTooLong \u2014 evaluate runs 219 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 119 over it, 2.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"179898a2dcfd588b11b16aeb7fd75743a0e72f099d1b13a3971573bb16ccf469"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: User.read_from_in_protocol: MethodTooLong \u2014 read_from_in_protocol runs 219 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 119 over it, 2.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":14272}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c562955601b2ab0884315ddd0b03f5b030f2b983003585b98c166d464af2ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::rules::golden_corpus::conversation_control::rows: FunctionTooLong \u2014 crate::visibility-filtering::rules::golden_corpus::conversation_control::rows runs 209 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/conversation_control.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac2ba0822cb4897137bf51bf84ba4cee9fc985316e3cfc653db320a93e23564"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::rules::golden_corpus::notifications::cases: FunctionTooLong \u2014 crate::visibility-filtering::rules::golden_corpus::notifications::cases runs 209 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/notifications.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c53a2a8d694eb8668cdb47e6bbae8d469c8e30ad8f4f17f16e0a5e9de5bc92"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit3O5.fingerprint: MethodTooLong \u2014 fingerprint runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3525}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b136b5b1f4b4387f2247f1bb87cb216ccf1f88d89046dfa6f526cd6aa42846"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit5O4.fingerprint: MethodTooLong \u2014 fingerprint runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5752}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd39eec14e0680f26839487239411c0a4a90ef80dd86b3f4a7b66d8a2c04b79b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/rust_parquet_recsys.py: FileTooLong \u2014 1020 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 520 over it, 2.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/rust_parquet_recsys.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"824382fc8205139356add2742e019cf0f72e8ce0535aeb79632b24f079eaad7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xai_recsys_engine::storage_util::remove_old_from_storage_async: FunctionTooLong \u2014 xai_recsys_engine::storage_util::remove_old_from_storage_async runs 204 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"95784d8ac3517e2c75429f7e97c28dffdf25622a6db1131741f0c7510f818cfc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/backfill.rs: FileTooLong \u2014 999 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 67% of them inside a single declaration: Backfill (2 blocks, 320-1185). The bar is 500 significant lines; this is 499 over it, 2.00\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc32236f84eb152859fe2c47d7fee62505960e1d8db2c720092881f2ef9cf7c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InputBuffer.new_with_candidates: MethodTooLong \u2014 new_with_candidates runs 198 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6acf41a69585cb3795c58c68e22f6dffa80f26c2067a533759da88619ae4dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::rules::golden_corpus::tweet_label::rows: FunctionTooLong \u2014 crate::visibility-filtering::rules::golden_corpus::tweet_label::rows runs 198 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/tweet_label.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"05692da3828cb41a52cae5d0d35bbad2fdb0f90ae6384d36ce415318003d254e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RankingBatchPrep: ClassTooLong \u2014 789 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 3 blocks, lines 1395-2316. The bar is 400 significant lines; this is 389 over it, 1.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf68d663ea53061cf9842ae4f7edac743eeb88bdee4ce4398ded32af91dd47c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit7O3.fingerprint: MethodTooLong \u2014 fingerprint runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8324}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c916870977ba2d9a9c56db58b439cbb9e871e1024f5b05ae0a571d2f94fd9af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: store/base.rs: FileTooLong \u2014 968 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 468 over it, 1.94\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"853e62e13a957db08e0674ec257412a6d412c960545a0bf8a87fccdd3138ef24"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Account: ClassTooLong \u2014 772 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 3 blocks, lines 5905-6826. The bar is 400 significant lines; this is 372 over it, 1.93\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":5905}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0222faaaf364b2865d80d07f1e301c24249d6574ae63b05142e096dbeb846f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: candidate_pipeline/phoenix_candidate_pipeline.rs: FileTooLong \u2014 953 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: PhoenixCandidatePipeline (3 blocks, 225-1160). The bar is 500 significant lines; this is 453 over it, 1.91\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffbe2c41bf788e9d242074912685ddb7b77e642c3043250f394e45496664b79"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PhoenixCandidatePipeline: ClassTooLong \u2014 760 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 3 methods, 3 blocks, lines 225-1160. The bar is 400 significant lines; this is 360 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"845be32955dd494824f9630e2c1f2856ae12152549f656d45e11d60f8c993a9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: action_control/levels.rs: FileTooLong \u2014 949 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 449 over it, 1.90\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control/levels.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8731a1285d46b1f682c3415bdfa43822734ff4a4cea2f363b8a9cc631a434b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: configs/xrecsys.py: FileTooLong \u2014 946 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 446 over it, 1.89\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/xrecsys.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ec9d85889cdab6875d5c8f12acf5dd888d1cb640b8553c68465b3282d72b48"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit4O4.fingerprint: MethodTooLong \u2014 fingerprint runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4477}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99b4b1507cece32e9e92bc33f4ceafa6e41701b884e3ce844e9e9560986d5de"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit2O5.fingerprint: MethodTooLong \u2014 fingerprint runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"e076432c15f0acc5a350c5129a1bdc63b01059d252c9f0b3482a1e3aa5cc74bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/recsys_reply_two_tower_v2_model.py: FileTooLong \u2014 935 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 435 over it, 1.87\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_reply_two_tower_v2_model.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1189101b9e9cffbadbe9c1f170fc9c696fdeabbfd6e29448306fb62dea87959d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Compiler: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5086de113277ec2bc48dcb9680eaa42a40be5ca53341c1195007bbf11dcc6e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Type: TooManyMethods \u2014 56 methods. The bar is 30 methods; this is 26 over it, 1.87\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/Type.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a712ea55e08e29b1769fed5ac3d0bff349eb4aab70711429c6b7624a37bc06"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::phoenix-rankall::src::main: FunctionTooLong \u2014 crate::phoenix-rankall::src::main runs 183 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/main.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1480e18f2c99697ef3964d51394778bf9cd6211ad299cfca670ccb8abefd8f2e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit6O3.fingerprint: MethodTooLong \u2014 fingerprint runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6878}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b406e59eb61e1c7f37bba6124663b7a0173d1014745ac00e18e58e51075e65"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Safety: TooManyFields \u2014 54 stored fields beside 1 method. The bar is 30 stored fields; this is 24 over it, 1.80\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":8890}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f51e031de5758e83c78eb3c85d70bb7e31fad91a72bd3c96ebc278c0e12e5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::home-mixer::util::urt::feedback::build_dont_like_feedback: FunctionTooLong \u2014 crate::home-mixer::util::urt::feedback::build_dont_like_feedback runs 177 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/feedback.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"850a7241f7c4db478f087a7ef49f0f377f9d6624a589406a8d018b486065cf44"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RetrievalInputBuffer.compute_from_columnar_bytes: MethodTooLong \u2014 compute_from_columnar_bytes runs 177 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/util.rs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b292b13e144b5086785d3e22db6c6d98fd00955aa65bc7df27ff37000cec63"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::rules::golden_corpus::oon_tweet_label::rows: FunctionTooLong \u2014 crate::visibility-filtering::rules::golden_corpus::oon_tweet_label::rows runs 176 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/oon_tweet_label.rs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c9b32b20fdd8042bbb7e62b38942b6c4bd0c9d8f0181dd633ae5a7d59acfff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pallas/ranker_attention_v2.py: FileTooLong \u2014 877 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 377 over it, 1.75\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4239845492db93211fca6d512b2dac1bd601c7e0a5f174de113b27dbf0eaad85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xai_recsys_engine::copy_port_client::download_embedding_table_progressive: FunctionTooLong \u2014 xai_recsys_engine::copy_port_client::download_embedding_table_progressive runs 175 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e01cd435291d44ca9dcebed63213d98520866c3392eb5ca54aba01f5eaa6ab4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit3O4.fingerprint: MethodTooLong \u2014 fingerprint runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3301}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8d069faea240985e937feabc55b60dbd59a613714f3ce4b38e82c11391b87e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: runtime/batch_prefetcher.py: FileTooLong \u2014 852 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 352 over it, 1.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5783cf0933f7acf2918a392d4118546f81b63729df40e34e7d36d77c8653524"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ActionControl: TooManyMethods \u2014 51 methods, declared across 2 files: src/action_control.rs (45), action_control/levels.rs (6). The bar is 30 methods; this is 21 over it, 1.70\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ae75f8072382473b3731c914265ed9d285d9a32652487535c1338faba5921d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TopicIdExpansion.category_ids: MethodTooLong \u2014 category_ids runs 170 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/filters/topic_ids_filter.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"536d4be38a365b2b1e4173a85b58c3ed63639d0b939e40af8fa52b81d5b7605b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Event.write_to_out_protocol: MethodTooLong \u2014 write_to_out_protocol runs 170 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":4465}}}],"partialFingerprints":{"codehealthFindingId/v1":"65001d154bf8179ccd497abcccbed6bd1440b5d101e69c1cb85eaec022cef76f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: User.write_to_out_protocol: MethodTooLong \u2014 write_to_out_protocol runs 169 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":14538}}}],"partialFingerprints":{"codehealthFindingId/v1":"260cbc8776404d22072bf60ef3c488ef17370c3600e5c81ecb66107f7b30aa94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: safety-label-source/dragonfly.rs: FileTooLong \u2014 838 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 338 over it, 1.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"safety-label-source/dragonfly.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65678f997b3f062741dd4068abf0772e446cecb98eda5acbd586eb070c4dd994"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit5O3.fingerprint: MethodTooLong \u2014 fingerprint runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5532}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff63addfa0cafd71e334fbd8962e63c643131f22d1c3509e626d4a08cf8b60b0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::home-mixer::ads::multi_risk_blender::blend_with_drops: FunctionTooLong \u2014 crate::home-mixer::ads::multi_risk_blender::blend_with_drops runs 167 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/multi_risk_blender.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c694788ef007700dccabdc48d78e4250db60f0e42c65c001def1aac208b82528"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Backfill: ClassTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 27 methods, 2 blocks, lines 320-1185. The bar is 400 significant lines; this is 265 over it, 1.66\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"d949eadbd6a78a6ac74349b79743d07bef9424cacef035e16d6aaf7573bda4a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xai_recsys_engine::storage_util::load_reshard_row_to_col: FunctionTooLong \u2014 xai_recsys_engine::storage_util::load_reshard_row_to_col runs 166 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd2ea5671a38a240be48599e6795dbfa1ded258f8865252e96e82d4d9b3e4e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: home-mixer/server.rs: FileTooLong \u2014 825 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 325 over it, 1.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d257fcbbd77703cf06957c8866a1dd8d470dd4cf1404923e1926776f12613c0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Sender.handle_send: MethodTooLong \u2014 handle_send runs 165 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy.rs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcbd0c4a791f3ebc4daeb92c82b28eb45e8ff447ebc7c9ab15f78e4f2e69635"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: configs/xrecsys_two_tower.py: FileTooLong \u2014 821 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 321 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/xrecsys_two_tower.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6daf5ea3bff969edb4a11d7eaf6b8b5741bc58380ebb35ca7dfa88071a8bef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xai_recsys_engine::emb_table::load_tensor_no_resharding: FunctionTooLong \u2014 xai_recsys_engine::emb_table::load_tensor_no_resharding runs 164 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e001afbcc2bb89292ae6a4880ea12903f6c95bc7adbb34383a8848b4bf95ad59"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: InputBuffer: TooManyFields \u2014 49 stored fields beside 16 methods. The bar is 30 stored fields; this is 19 over it, 1.63\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"efad642fd816c9ba62279ad305497998b5ba02cfb269c79274de465621de3601"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rule/BotMaker.scala: FileTooLong \u2014 814 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: BotMaker (194-1070). The bar is 500 significant lines; this is 314 over it, 1.63\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"709d7705c5e036b88612973f901d42682ee640e16e695ab6b46f2d069b7defd0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/transformer.py: FileTooLong \u2014 813 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 313 over it, 1.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/transformer.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18539c5e817c82db625cde85e60be924d061df4d824a2da75b1b008587df781"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data_loaders/data_types.py: FileTooLong \u2014 807 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 307 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/data_types.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bc214fd5b2e68f6dd39631228d4cfa50d64115f5b588d0712a366d6399030d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit1O5.fingerprint: MethodTooLong \u2014 fingerprint runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4c291108986555421c407288ba1f16ed5b06e69427c6646c167b1bf5120e6f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecsysPredictorImpl.predict_next_actions_inner: MethodTooLong \u2014 predict_next_actions_inner runs 161 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74fbe9b549df7f843ad94aab69b5dfa43ad54ce9a1a1a18963e129a13b3b2a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xai_recsys_engine::emb_table::load_tensor_into: FunctionTooLong \u2014 xai_recsys_engine::emb_table::load_tensor_into runs 159 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"0411dc404d747bb0d545a63eb906262c84607610f3f5efc84db4e8a707f64976"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xai_recsys_engine::proto_parser::parse: FunctionTooLong \u2014 xai_recsys_engine::proto_parser::parse runs 159 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/proto_parser.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"894fd7f919321ae8f4fdb319c03d9db5bb1ff5df30f2dab79dbd7e56f4b9bb0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xai_recsys_engine::storage_util::load_single_array: FunctionTooLong \u2014 xai_recsys_engine::storage_util::load_single_array runs 158 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daa8c9d8923d3fcb7a459f6524dfddc26a98a9b45d9c130f46c273c0980bc10"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AnnotationValue: ClassTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 2 blocks, lines 4889-5691. The bar is 400 significant lines; this is 229 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":4889}}}],"partialFingerprints":{"codehealthFindingId/v1":"766089e3fdacbfea326334ce32e898cc1e1c3fa39bbf85ea93b33fa292594a84"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Args: TooManyFields \u2014 47 stored fields. The bar is 30 stored fields; this is 17 over it, 1.57\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/main.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf7c14b57a357333345b607ae00b4d3452803fcf9fa86a0bef23f980d9c59a9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit2O4.fingerprint: MethodTooLong \u2014 fingerprint runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb57e00d539e8981715270e99c703bb66d02d2be7e4e6a83f05c48686e063ee"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Backfill.change: MethodTooLong \u2014 change runs 155 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"08072a0f7bebbe9a027984be20e001a8ce9f1cd648c4aeddc3e4bc45ea94c4c3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Safety: ClassTooLong \u2014 618 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 3 blocks, lines 8890-9629. The bar is 400 significant lines; this is 218 over it, 1.55\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":8890}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ddaa4d615fc3a235bbf4ef3dab5ba417576fdbb619d8841147e1c12f789359"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit4O3.fingerprint: MethodTooLong \u2014 fingerprint runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4272}}}],"partialFingerprints":{"codehealthFindingId/v1":"6563777a0a3c4e493c0dbf8dffce34d03bfa8263101844e08fba5e0c84c31772"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit7O2.fingerprint: MethodTooLong \u2014 fingerprint runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8119}}}],"partialFingerprints":{"codehealthFindingId/v1":"26025e306dd7fef1cb994f67fb192923ce9a9eae4667b58787cc1d9f81648206"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::rules::golden_corpus::article::rows: FunctionTooLong \u2014 crate::visibility-filtering::rules::golden_corpus::article::rows runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/article.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fca436c90f3d4862b21c34297ded66e170cb9e4fec10602704388a7c295784"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xai_recsys_engine::storage_util::reshard_col_to_row_and_upload: FunctionTooLong \u2014 xai_recsys_engine::storage_util::reshard_col_to_row_and_upload runs 152 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1425}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c5e8852ed4aea47813ed67412c4d7c2f37456b27cb25c1b7aad5256e421d30"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HoldGate: ClassTooLong \u2014 605 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 14 methods, 2 blocks, lines 1116-1983. The bar is 400 significant lines; this is 205 over it, 1.51\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad189d011a11e22115ad57e5b750ef9cef7f3e33da3d5c6cf66ba30696458ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PhoenixScoresPipeline.prod: MethodTooLong \u2014 prod runs 151 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_pipeline/phoenix_scores_pipeline.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2edde96fb708dafedafa8b0f3f8caa5f8d531192063346bc3c0b2f05b6621f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BaseSnapshotStore.start: MethodTooLong \u2014 start runs 150 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ba5b3bf1a6c0240043b52622e67b03083f1db4a69679cc7925d646504b9fe7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cutedsl/ranker_attention_varlen_fa4.py: FileTooLong \u2014 745 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 245 over it, 1.49\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f2214758643834345eb0254330a4716f25e93f5ba9857fcbab15cb9aaf2c54"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RetrievalInputBuffer.compute_for_item: MethodTooLong \u2014 compute_for_item runs 149 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/util.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7168f2db95526e32a12a21a772e716ee84f1188133e0946cd9259669071193a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: inference/launch_inference.py: FileTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 240 over it, 1.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_inference.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5e5c9b2cf209677a3066097fb4200e9972b54d00d74a6dadb6aaf94e5eb713"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::rules::golden_corpus::label_interstitial::rows: FunctionTooLong \u2014 crate::visibility-filtering::rules::golden_corpus::label_interstitial::rows runs 148 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 48 over it, 1.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/label_interstitial.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70731f81a3f59ffe672252b709517a3441ef5c0c2ae94ac2df2c15d2e393b2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scarecrow/ScarecrowBotMaker.scala: FileTooLong \u2014 738 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: ScarecrowBotMaker (320-937). The bar is 500 significant lines; this is 238 over it, 1.48\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scarecrow/ScarecrowBotMaker.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fda19d9c35ef7d2a5bfe89a5141cf8c813217c8318b4ccb474217957be2bcb5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: RankingBatchPrep: TooManyFields \u2014 44 stored fields beside 1 method. The bar is 30 stored fields; this is 14 over it, 1.47\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"7653d00af24880a73bac25f0b6291b15aec003d0ae34b1d27c9fb66f078cd087"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit11O1.fingerprint: MethodTooLong \u2014 fingerprint runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10051}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7048239e296b2f2c413da33d79404ea739e6915ac960f4d3390e762eeb3f3d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::rules::golden_corpus::age_gating::rows: FunctionTooLong \u2014 crate::visibility-filtering::rules::golden_corpus::age_gating::rows runs 146 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/age_gating.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30dc8ae986fd6d15891ffb34876a9af27b021040775a60a9911a2c3f908e9d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::home-mixer::util::urt::ad_marshaller::marshal_ad: FunctionTooLong \u2014 crate::home-mixer::util::urt::ad_marshaller::marshal_ad runs 145 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/ad_marshaller.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a79cbff527d62a5ec151f8052962bfc0bc933156fdce9bbad2c2fbd20ef8105"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TBotMakerMapProtocol: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be46243fd7d5735f417bbb24e1846e0c3eea1e6e943d1d0b4e0c6685a4a7e07"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/events.rs: FileTooLong \u2014 710 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 210 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa6a31fb0db96839c2267a23248d4f77884ab3a39dda93b2917b6d7f87a82fb"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit6O2.fingerprint: MethodTooLong \u2014 fingerprint runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6686}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d7712bba3f0b64e7c57331c1b55f8467e23396644ec81fc207dc56336fd6d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xai_recsys_engine::emb_table::maybe_load_fully_replicated_tensors: FunctionTooLong \u2014 xai_recsys_engine::emb_table::maybe_load_fully_replicated_tensors runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"b847fb89f5f577ceb735baeefe4ca506a12e24a2debe87a06fb1c703a47fe170"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: recsys/sequence_packing.py: FileTooLong \u2014 705 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 205 over it, 1.41\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/sequence_packing.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bbccceb53eb2072bf38d23f111e8a80bbf364f62771a8a9d0fa054aa59874a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xai_recsys_engine::python::handle_request: FunctionTooLong \u2014 xai_recsys_engine::python::handle_request runs 141 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b88e7082046405f2eb80fc05df9e7c43b246b04c942809de2a67c3ca4281470"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TFingerprintProtocol: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":1666}}}],"partialFingerprints":{"codehealthFindingId/v1":"721b6e390e5c0e0576439a22918dd4364ea782a5c9507afc5c0c4605bed61938"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit0O5.fingerprint: MethodTooLong \u2014 fingerprint runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a998e2f1aaece6080b5d18c81e660884edc5b8c1e89e4104daa141229eef8ad"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit3O3.fingerprint: MethodTooLong \u2014 fingerprint runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3114}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c3ab708f848158331a01cfc07065784e833eb52002a52abf0a7c081347b677"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Perspective.read_from_in_protocol: MethodTooLong \u2014 read_from_in_protocol runs 139 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":10319}}}],"partialFingerprints":{"codehealthFindingId/v1":"60501ff8ca54d019a82550afd10a827a544b94821220bce4d97b1af19e9a0e15"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit10O1.fingerprint: MethodTooLong \u2014 fingerprint runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11946}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbea53175891a3c40627428a8aff47297d7bde7b050555dccec2fd48df75fed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scalding/TopUsersSimilarityGraph.scala: FileTooLong \u2014 686 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 186 over it, 1.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dff58252aa006331f88f53c350d5e9ffd233401da995941cb9b90b10fcea7b3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: User: TooManyFields \u2014 41 stored fields beside 1 method. The bar is 30 stored fields; this is 11 over it, 1.37\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":14179}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ec68763b64b71bbb0152eaecf28e1107e7868c86413fcbe6deaa878a69f26d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Compiler.botmakerFunctionToASTNode: MethodTooLong \u2014 botmakerFunctionToASTNode runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"904d77db9bcb052c043359af52537ab6bebe4c3119fec03c789513e0ccaeeb42"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reference/sid_codebook.py: FileTooLong \u2014 678 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 178 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/sid_codebook.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddfe8f8c71b8d21fbe0c6113ff00bd75c0dafabfe4d9d76db78bf81704d64b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeaturesOfRtpCaseUpdateEvent.apply: MethodTooLong \u2014 apply runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfRtpCaseUpdateEvent.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8011b284764ebf90bcb9d225d57eebe6c27e4c11241a5c4b4bf5bc2e9b7746c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::rules::golden_corpus::oon_media::rows: FunctionTooLong \u2014 crate::visibility-filtering::rules::golden_corpus::oon_media::rows runs 134 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/oon_media.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0657a2c76a2edd3e8f8bc8fc3b3157c20a8718e35cf5dafb0a3f751a718a0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schema/tweet_media.rs: FileTooLong \u2014 667 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 167 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet_media.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f781c7396373db370a2506f19beac54a50668136eb76909c288335ab10454e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ValueModelWeights: TooManyFields \u2014 40 stored fields beside 8 methods. The bar is 30 stored fields; this is 10 over it, 1.33\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"xai-value-model/weights.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf25a8f1b7303637f8199d5390d72442299a7372e3c59fbeebede53aa83d528"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UpdateKnownForApps.runUpdateKnownForGeneric: MethodTooLong \u2014 runUpdateKnownForGeneric runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/UpdateKnownForApps.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7b20545034349186be8b5cdfc859c3dfd0f3364b80e735ac12592b9bc3e19c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ThriftStructType: ClassTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), 17 methods. The bar is 400 significant lines; this is 124 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddcefe112b870fef0060595799fba0629307ac92f712cae8fdb440676dd9730"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit1O4.fingerprint: MethodTooLong \u2014 fingerprint runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b94052ce659f1a00228aaf42ae8bf627194fc2b9a5dda30a71ff2f6eb5a42a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit5O2.fingerprint: MethodTooLong \u2014 fingerprint runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5352}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d92125001e949b8ce645e63848d0d5e760a2af7fe55adac4c460720a79bc028"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AppPushDevice.read_from_in_protocol: MethodTooLong \u2014 read_from_in_protocol runs 130 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 30 over it, 1.30\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":12953}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be081f2328e144c8d4b16ee87c52acf36121561c3d216e13b8765317cce0972"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/action_control.rs: FileTooLong \u2014 640 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 140 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/types/src/action_control.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb307e89a2da1987bd02aea7dce89c8f65fbe3556500f499db1857d00d00b3b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ThunderServiceImpl.get_in_network_posts: MethodTooLong \u2014 get_in_network_posts runs 128 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/thunder_service.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"02017f613b62c75ace5c42243e96adbdaf56907a39d71a63a6fa1604434442a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::rules::golden_corpus::takedown::rows: FunctionTooLong \u2014 crate::visibility-filtering::rules::golden_corpus::takedown::rows runs 127 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/takedown.rs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d347b0283f7d436e44cd7780988f1eb86144e54875c7e7431ce7bda86b4865a5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Trainer: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8c908357d66c7ad890581c679c98d34714e90bb7157969d9567461f9edd710"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xai_recsys_engine::storage_util::find_latest_storage_checkpoint_async: FunctionTooLong \u2014 xai_recsys_engine::storage_util::find_latest_storage_checkpoint_async runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"53758a6e8f624c7cecad78357fb7b89823c687eb073b9ec815fc82edb947d59b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data_loaders/media_loader.py: FileTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 127 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84ce5c8e2e406180e9b9f3b412b8fd77a4f3740c2694750a2654050f8f27747"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: models/layers.py: FileTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 127 over it, 1.25\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/layers.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4dae9c58e6742a598bcfdff902758d5837f34b6dfa7a2f721e46bb9fa4c7068"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit2O3.fingerprint: MethodTooLong \u2014 fingerprint runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2065}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae208d03a4ef436aedfe8e748d44fcb2a96d02f50b254a2f7faf4c9b752c882"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::home-mixer::ads::partition_organic_blender::blend_impl: FunctionTooLong \u2014 crate::home-mixer::ads::partition_organic_blender::blend_impl runs 125 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/partition_organic_blender.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ceff5142c4d156d21c43d7e20fd0887ab558944a826c595adc9281b046bb819"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 621 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 121 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-server/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f387ae0ab6965c559d400feb3013fb7295e513328ee1d972484047163585edcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xai_recsys_mm_server::snapshot::fetch_recent_embeddings_from_o2: FunctionTooLong \u2014 xai_recsys_mm_server::snapshot::fetch_recent_embeddings_from_o2 runs 124 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/snapshot.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adc581dbb1b0f53643650d19201b64a16635f434e511a39182d3e888648f4d1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: UserArrowFeatures: TooManyFields \u2014 37 stored fields. The bar is 30 stored fields; this is 7 over it, 1.23\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/abuse-v3-features/src/lib.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9d8dea4c5d5b98636126d9cdf37cbce2f81082b09c39644f51a37f893ba03d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: driver/hooks.py: FileTooLong \u2014 615 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 115 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2160f922dc6cb1c290cc46e7f463ed5ad5956156ab280fd39b98a6aa47b85ca6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::rules::golden_corpus::author_state::rows: FunctionTooLong \u2014 crate::visibility-filtering::rules::golden_corpus::author_state::rows runs 123 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/author_state.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5efa05e4f056949b62e97fe134aa739f4ea91e5e09e43355acc9cd33a9445ff"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video_tools/image.py: FileTooLong \u2014 612 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 112 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/image.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5339466f2744d3d62986946b637cc4a22a731e29114deabeb4aba79408802ff3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit8O1.fingerprint: MethodTooLong \u2014 fingerprint runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11765}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a6475748ecd5be51ea417944222404dd5d5e60bc805e34b0e23469da4a2c61"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Backfill.start: MethodTooLong \u2014 start runs 122 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f9778dfad9d8503b20472e2135df11aca17ab732b5e78a08fa2e703eda1100"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reference/dump_gen.py: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 108 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/dump_gen.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cc3729b1d23adc6c369c1e206123fa97393119fe15743d64c8180d548999c7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FunctionUnit2O11: ClassTooLong \u2014 484 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 84 over it, 1.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11200}}}],"partialFingerprints":{"codehealthFindingId/v1":"923530eede2252c7c316e32ac26c477dcd25967a6bf80c25affe39e0df8c0704"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PipelineMetrics.new_with_pipeline: MethodTooLong \u2014 new_with_pipeline runs 121 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/metrics/mod.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea604be91eb8fcfd4cbd2bfa4bc6aa7821d633cb0332fd2f5dbf87bf5d10747"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ptos/classifier.py: FileTooLong \u2014 604 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 104 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59783cd69c29e19a4c37942fa4aff622fe2ba9cc61510f41d43cb8736eefeae"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CompilerContext: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/CompilerContext.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ff68a8ca18248caee0c4d1fcad1eb7202b96e579e905af12ddb0173843c157"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/checkpoint_proxy.rs: FileTooLong \u2014 600 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 61% of them inside a single declaration: CheckpointProxy (2 blocks, 51-555). The bar is 500 significant lines; this is 100 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/checkpoint_proxy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2556e7b040b204392dab91374ceb59201781c0610386c0770bbfda751ac135f3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit4O2.fingerprint: MethodTooLong \u2014 fingerprint runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4104}}}],"partialFingerprints":{"codehealthFindingId/v1":"109eea3351a905502571fc450279a5f43811fe4eb75b1b41bbb585c345cd700a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/off_switch.rs: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 69% of them inside a single declaration: OffSwitch (2 blocks, 274-848). The bar is 500 significant lines; this is 99 over it, 1.20\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/off_switch.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eff4884da03a323716454808669814bbb5e11b4c4524c8e93a8b46b7025d493"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeaturesOfEventBusFanoutEvent.apply: MethodTooLong \u2014 apply runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfEventBusFanoutEvent.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d25df5e0c23335eb3dabb0c32c5925db225d0d015bccb611214a76c026352c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NotificationExtension1.read_from_in_protocol: MethodTooLong \u2014 read_from_in_protocol runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":7241}}}],"partialFingerprints":{"codehealthFindingId/v1":"930381c87046479108202cf6f5a256fbd6b421d728d06052e04010576c07c9d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::server_deps::prod_sources: FunctionTooLong \u2014 crate::visibility-filtering::server_deps::prod_sources runs 119 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/server_deps.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"be86848111b0a1f0f1809d8ba6019a2e030d9d6939213368fc654af5c536fa11"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: User: ClassTooLong \u2014 475 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 1 methods, 3 blocks, lines 14179-14749. The bar is 400 significant lines; this is 75 over it, 1.19\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":14179}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cc1ff218fd04ee1be9ef29e4a5fb53fcc92e3b5707a8253688b246396dff76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pallas/attention.py: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 93 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/attention.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07018c614da57db79d60336d489f94b92a5164f009d882b63a301f97c6c19577"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::treatment::thrift::thrift_result_state: FunctionTooLong \u2014 crate::visibility-filtering::treatment::thrift::thrift_result_state runs 118 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 18 over it, 1.18\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/treatment/thrift.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3806ec9052b930816bb7ee383fdf5de18db3431ae08e97608768253884427f8"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TopicIdExpansion: ClassTooLong \u2014 468 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 6 methods. The bar is 400 significant lines; this is 68 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/filters/topic_ids_filter.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"13be2a3cd0c429cfef3712b3d2e5ede9eea5245239b80b9aa7eb1458c6fc25cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/aot.py: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 85 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/aot.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c415e7a2af8398f765e082d6f1cc96f5c91d63877c512b25d783a0d5eb56612"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FeaturesOfAuthCompletion.putLoginToMap: MethodTooLong \u2014 putLoginToMap runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00900311e1cfbaadce028e8acc7665f02f0d9cb21266769bf07e72113f50a75"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ScoredPostsQuery.new: MethodTooLong \u2014 new runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/models/query.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3d8cf9d869309784143cb563b00ace6459b68cdf0bf44d29d19b46d92c0f3e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RemoteSource.get: MethodTooLong \u2014 get runs 117 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"safety-label-source/remote.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c9c9faee62154c817622449139681023094f08e801370d192e2f88694f0c39"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cutedsl/ranker_attention_fa4.py: FileTooLong \u2014 583 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 83 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6721de12f027b4fa2ff94f894ba78dd4a95d247ec3196e6f6fc9b60254c9db88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: filters/topic_ids_filter.rs: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: TopicIdExpansion (110-637). The bar is 500 significant lines; this is 82 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/filters/topic_ids_filter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9ca46383b45b4ec2c00aa9fc78adebb12a4400d3ed3ea56c13a74a2bd3d454"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/head_guard.rs: FileTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 71% of them inside a single declaration: HeadGuard (2 blocks, 258-822). The bar is 500 significant lines; this is 81 over it, 1.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/head_guard.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42af3bf914776bacb77a5dc851d1293865b6c7c6dcd07e84c0f8a7292aff4fda"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Type: ClassTooLong \u2014 464 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 400 significant lines; this is 64 over it, 1.16\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/Type.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4f00045df24ea0146cdab71897f5869a1a9340091a92a8d1f0998e2a721266"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::home-mixer::util::urt::make_urt_timeline: FunctionTooLong \u2014 crate::home-mixer::util::urt::make_urt_timeline runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/mod.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbcdcf451d617bc10f5e94949528f840efa77e9eea5f5ea6c9849aff51af3f0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RecsysRetrievalPredictorImpl.retrieve_top_k_candidates_inner: MethodTooLong \u2014 retrieve_top_k_candidates_inner runs 115 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":2778}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f8eae2766af9c8ad3a53fd8550d656b604525b7488f36dda309aee99b6b581"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: types/ThriftStructType.java: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: ThriftStructType (56-838). The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f240ac13e257cb56dac472648fb732f4d37e324aed1582b21d764421330f10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scalding/ClusterDetailsJob.scala: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/ClusterDetailsJob.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b35c648ee1b23c1919deb4b4325adfff3f877b583ab89ad605721cf45938ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: xai_configlib/__init__.py: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/common/xai-configlib/src/xai_configlib/__init__.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ac7a662f261084d6a300d5c3241d1394b4f3b59904079ff373d341531debcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reference/world.py: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/world.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f4d5f84e6dc2749adf896a4a17220ef4a532a2fdd77b6c8b26f3019dedef5c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit7O1.fingerprint: MethodTooLong \u2014 fingerprint runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7957}}}],"partialFingerprints":{"codehealthFindingId/v1":"182569d59f812e32073d4b127bef5918e32e1db72231cd64fe856cfd75a42fba"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Notification.read_from_in_protocol: MethodTooLong \u2014 read_from_in_protocol runs 114 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":7553}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfdfe68b4711fd84c8662e9bc0dfb1902e444cf9c43e08ff523bebb1ed126b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/main.rs: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"306f4b382ab8c4afe79d42e0a47acef6f53d5a1f5a6cdd7b448f538ca82c6069"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit0O4.fingerprint: MethodTooLong \u2014 fingerprint runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"feab442c18bd193a516f4ba9dea272d48a2162a2d6f557949c978fa6bcbf40f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::visibility-filtering::rules::golden_corpus::oon_user_label::rows: FunctionTooLong \u2014 crate::visibility-filtering::rules::golden_corpus::oon_user_label::rows runs 112 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/oon_user_label.rs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"756a8ab05e56d0acdf1080122e60ea3d2a86e2b9e6adcdffddfdd4e4d05671e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hydration/store.rs: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 59 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/store.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65557182973b493ae3f2f903467e88f4d2884156a09134d80deac3478f10a20e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Event: ClassTooLong \u2014 447 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 0 methods, 2 blocks, lines 4092-4678. The bar is 400 significant lines; this is 47 over it, 1.12\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":4092}}}],"partialFingerprints":{"codehealthFindingId/v1":"faab89dddc419c90c645e0cf0ff586e9d17ef586100c3b5c1e15036e1414b349"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eval/recsys_eval.py: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 57 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/recsys_eval.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65741c1c1f25876bd5057f5ee7fa0ab8ebcdbbee7d4dbd307bfb874f27dc4f96"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rules/engine.rs: FileTooLong \u2014 554 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 54 over it, 1.11\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/engine.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb894874138e1a1d11abe3c102c0ca8004a3a10e412485bca63e759c40e5387"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::vm-ranker::dpp::rescore: FunctionTooLong \u2014 crate::vm-ranker::dpp::rescore runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vm-ranker/dpp.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca1d8609938e8d9e3e65bbcfe50c9f33ae9795b76d73cf1726e89eb2d22e1d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/copy.rs: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 46 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"457d3d55441d8c1d0c04d7248f2e1b3f20f6698a0fb92c81f4842d467fa909c8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Serializer.mapOf: MethodTooLong \u2014 mapOf runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a82c9b04aad1f26c81673766caa0b24208d715616155173d09a344d6c988ac4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit3O2.fingerprint: MethodTooLong \u2014 fingerprint runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"00afa8a5eaa72d4325efa55644fde4a41e8a258772b94dd557d460c966491067"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PhoenixCandidatePipeline.mock: MethodTooLong \u2014 mock runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d49769d4f95bc80b7b83d0a62295d263e74be732588963a88e243f2ee9b1396"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::home-mixer::util::urt::wtf_marshaller::marshal_wtf: FunctionTooLong \u2014 crate::home-mixer::util::urt::wtf_marshaller::marshal_wtf runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/wtf_marshaller.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0150f44f86ef8528b69b918d526debc0f0cf2509e877978f9c5f4785ac42e8bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::thunder::kafka::tweet_events_listener::process_message_batch: FunctionTooLong \u2014 crate::thunder::kafka::tweet_events_listener::process_message_batch runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/kafka/tweet_events_listener.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"c870378975147cfa1c5d7e34c94f62decbb1f548561d59c845042442c5963b70"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FullTweet.read_from_in_protocol: MethodTooLong \u2014 read_from_in_protocol runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53af10ceb344f7f1b5c78e08b18dc1050795e76ca39cd5f5ae419f32a7175cd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hydration/hydrator.rs: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 61% of them inside a single declaration: Hydrator (2 blocks, 15-619). The bar is 500 significant lines; this is 40 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/hydrator.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6313a27ef17ee32af2da44804725805c2a9acb8cf3468aecdcf308e335a56d7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: side_effects/scored_stats_side_effect.rs: FileTooLong \u2014 537 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 37 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/scored_stats_side_effect.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e269c0c0f1764ea7f3eec3695f34e6f54d77a2b25ca40bfd7c316dbfe41cdfc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data/retrieval_dataset.py: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 35 over it, 1.07\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/retrieval_dataset.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e1d06cc89b2321985e189f7c9b5e5100cc2d917b9c00c2d1861a710dcce13d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BaseSnapshotStore: ClassTooLong \u2014 427 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 5 methods, 3 blocks, lines 152-741. The bar is 400 significant lines; this is 27 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6378326d999026d4fdcda4f96d85f23e7099f50a1b93ee611252b3ed843733ad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: HashTableConfig: TooManyFields \u2014 32 stored fields beside 17 methods. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/model_config.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"a545e0d4a29aeb1ca0d4784ef295620728c56838ae6e63cbf272ab2686be2290"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit6O1.fingerprint: MethodTooLong \u2014 fingerprint runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6534}}}],"partialFingerprints":{"codehealthFindingId/v1":"14561cc7488ec226ebf4cf1e72dd369394aa756479db9566949c36dfeae42662"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::phoenix-rankall::src::store::base::stored_to_metadata_batch: FunctionTooLong \u2014 crate::phoenix-rankall::src::store::base::stored_to_metadata_batch runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5deed41fea782e1e16410e96ddaf4a49b593d5eda8a9f3766343c7549bd298"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ForYouCandidatePipeline.new: MethodTooLong \u2014 new runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81cc755bad5040c00040f2b3851507fc84df50c8347202f32bc9e8d392b4851"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: xai_recsys_engine::copy_port_client::download_dense_and_embeddings: FunctionTooLong \u2014 xai_recsys_engine::copy_port_client::download_dense_and_embeddings runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"557083d9a1648d63c336c732ebfd91ccf6f2364baa49f4f45afc3ec5c01d54a6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Perspective.write_to_out_protocol: MethodTooLong \u2014 write_to_out_protocol runs 105 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":10489}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce88157eed7a27eec80318e7de2bd67c4626670f19656dbbe6e8d2acb006f048"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 22 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/abuse-v3-features/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"161c5b41340526b7c7494d5b675c871401b9e488c6408a23a72de584413fcee9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FunctionUnit1O3.fingerprint: MethodTooLong \u2014 fingerprint runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d9d9bd31ca44bbe31997a36a26a6dc6aedf3fa7f95885afb2586250c3fe072"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AdsBrandSafetyVfHydrator.hydrate: MethodTooLong \u2014 hydrate runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/ads_brand_safety_vf_hydrator.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91d2fac9dbb8a586178d4d4e14e1040dc91298629cf40537163f911b7609a38"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HomeMixerServer.build: MethodTooLong \u2014 build runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/server.rs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"9512036a97e863f68187b400b5b25fdabfc45a5d3788e660a8718de6951606bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: crate::vm-ranker::main: FunctionTooLong \u2014 crate::vm-ranker::main runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vm-ranker/main.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3ea3079300b7c688fe1e7a08466035976b0bb6d812ba89c1d2ab9ae11d3833"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ASTNode: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/ASTNode.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb5b15ae6290274155f846a61ab6b6440480fcc912709fc09734cd63e51b346"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: crate::home-mixer::util::urt::prompt_marshaller: TooManyFunctions \u2014 31 free functions. The bar is 30 free functions; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/prompt_marshaller.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36536ee5527dccc612f8d6fe6cd0bc719a097cea754fadefb9dfe519b7d9482"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: recsys/history_id_lists.py: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 15 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/history_id_lists.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8052f2d9ba003363d871a3bd652db1614449b9a20da0853c72017dc98317fe7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/metadata.py: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 15 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/metadata.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"784adda42700fe12b08a0db4888492d319b0b605313d594d4629c32280bb8885"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TraceEmitter.new_active: MethodTooLong \u2014 new_active runs 103 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/trace.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0effd883f717526469ee8f52cd2d291c84dc570dd97057604753252b7685db97"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: OffSwitch: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 26 methods, 2 blocks, lines 274-848. The bar is 400 significant lines; this is 11 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/off_switch.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f72ad5539cbc19f61a0f0ce6b0aa057d6f0e4f823141eb7a37869e8855d0b3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HeadGuard: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 21 methods, 2 blocks, lines 258-822. The bar is 400 significant lines; this is 11 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/head_guard.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e74f536a69107560f4b1935bb7d757c4db4b96c96e9e3c92cb406fec4ab764"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/request_metrics.rs: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 11 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/request_metrics.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c14763250368bbd4f6b96c77265d649819d129e17bce8fa4a7c35fac4f6322f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BaseSnapshotStore.dump_all_windows: MethodTooLong \u2014 dump_all_windows runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab4248bb3afd99b7f8abf99f09efb719ba52bc53e24814a3b70546591141ef9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: PostStore: ClassTooLong \u2014 402 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 13 methods, 3 blocks, lines 88-650. The bar is 400 significant lines; this is 2 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/posts/post_store.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"631720dc14848ba2b8d9d5ede0896b9551ec30db668b6221c6c94a3abcd9499d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (24 members, 22 shared lines): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:97-130 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:606-639 | thunder/schema/events.rs:211-248 | thunder/schema/events.rs:378-415 | thunder/schema/events.rs:458-495 | thunder/schema/events.rs:538-575 | thunder/schema/events.rs:1304-1341 | thunder/schema/events.rs:1382-1413 | thunder/schema/events.rs:1449-1480 | thunder/schema/events.rs:2171-2214 | thunder/schema/events.rs:2539-2570 | thunder/schema/events.rs:2701-2738 | thunder/schema/events.rs:2779-2810 | thunder/schema/events.rs:3028-3068 | thunder/schema/events.rs:3105-3145 | thunder/schema/events.rs:3182-3222 | thunder/schema/events.rs:3259-3299 | thunder/schema/tweet.rs:625-656 | thunder/schema/tweet.rs:761-798 | thunder/schema/tweet.rs:919-950 | thunder/schema/tweet.rs:2869-2930 | thunder/schema/tweet_events.rs:534-565 | thunder/schema/tweet_events.rs:601-632 | thunder/schema/tweet_events.rs:1114-1157 \u2014 These 24 members are variants of one another: a block of 22 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 24 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 24 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a18f2001ff0262bdbfd8c6c4dd61d535074f87e8b09048d484178475527c4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (13 members, 23 shared lines): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:97-130 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:606-639 | thunder/schema/events.rs:1018-1076 | thunder/schema/events.rs:3028-3068 | thunder/schema/events.rs:3105-3145 | thunder/schema/events.rs:3182-3222 | thunder/schema/events.rs:3259-3299 | thunder/schema/events.rs:3557-3636 | thunder/schema/events.rs:3728-3807 | thunder/schema/tweet.rs:2575-2618 | thunder/schema/tweet.rs:2869-2930 | thunder/schema/user.rs:5712-5750 | thunder/schema/user.rs:9674-9783 \u2014 These 13 members are variants of one another: a block of 23 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 13 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 13 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fd03635abe5b533ae6eabc45784ef6962189ab36515343b6711a9a15041eb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (10 members, 21 shared lines): thunder/schema/events.rs:4041-4072 | thunder/schema/tweet.rs:2451-2482 | thunder/schema/tweet.rs:2793-2824 | thunder/schema/user.rs:10871-10902 | thunder/schema/user.rs:11134-11177 | thunder/schema/user.rs:11325-11356 | thunder/schema/user.rs:11469-11500 | thunder/schema/user.rs:11613-11644 | thunder/schema/user.rs:11783-11814 | thunder/schema/user.rs:13252-13295 \u2014 These 10 members are variants of one another: a block of 21 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 10 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 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":4041}}}],"partialFingerprints":{"codehealthFindingId/v1":"811fa68ef3a8fc2e535e2a8b2212d5148ab3ae933b6f7d0ba486e055706c66d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 22 shared lines): thunder/schema/tweet.rs:692-723 | thunder/schema/tweet.rs:841-878 | thunder/schema/tweet.rs:1995-2032 | thunder/schema/tweet.rs:2075-2112 | thunder/schema/tweet_media.rs:483-514 | thunder/schema/user.rs:3349-3380 | thunder/schema/user.rs:11393-11430 | thunder/schema/user.rs:11537-11574 \u2014 These 8 members are variants of one another: a block of 22 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c9772bf4e08fe9a267aa9e461c2257d6ebbd9586a514e4c743c9dec813a670"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (8 members, 12 shared lines): thunder/schema/events.rs:1018-1076 | thunder/schema/events.rs:2067-2116 | thunder/schema/events.rs:2264-2307 | thunder/schema/events.rs:2357-2400 | thunder/schema/events.rs:2450-2493 | thunder/schema/events.rs:2931-2985 | thunder/schema/tweet.rs:4092-4124 | thunder/schema/tweet_events.rs:1021-1064 \u2014 These 8 members are variants of one another: a block of 12 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"97537a0946ca646de997f1dccd777257f6d0e0ff5005e75e09210267597c35fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 34 shared lines): thunder/schema/events.rs:1018-1076 | thunder/schema/events.rs:2931-2985 | thunder/schema/events.rs:3557-3636 | thunder/schema/events.rs:3728-3807 | thunder/schema/media_common.rs:385-446 | thunder/schema/tweet.rs:2869-2930 | thunder/schema/user.rs:9674-9783 \u2014 These 7 members are variants of one another: a block of 34 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"477571b0bfb8aaf4f4a88715c04d2714a8d46288524932a986a118b17a400d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 23 shared lines): thunder/schema/tweet.rs:4160-4205 | thunder/schema/tweet.rs:4248-4293 | thunder/schema/tweet.rs:4336-4381 | thunder/schema/tweet.rs:4424-4469 | thunder/schema/tweet.rs:4512-4557 | thunder/schema/tweet.rs:4600-4645 | thunder/schema/tweet_events.rs:289-338 \u2014 These 7 members are variants of one another: a block of 23 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":4160}}}],"partialFingerprints":{"codehealthFindingId/v1":"beaa51cd7152b0b3cc37e19e8cb32c12ffbed6e76b2ecdd6b4373046c09da5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (7 members, 22 shared lines): thunder/schema/events.rs:2067-2116 | thunder/schema/events.rs:2264-2307 | thunder/schema/events.rs:2357-2400 | thunder/schema/tweet.rs:1150-1193 | thunder/schema/tweet.rs:4092-4124 | thunder/schema/tweet_events.rs:1021-1064 | thunder/schema/user.rs:4692-4723 \u2014 These 7 members are variants of one another: a block of 22 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":2067}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d30bcef00b43b12971199285d8e7e300686eff4c7bbac3600b1d3ca1b8e7c51"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 14 shared lines): thunder/schema/user.rs:7241-7386 | thunder/schema/user.rs:7553-7692 | thunder/schema/user.rs:8326-8411 | thunder/schema/user.rs:10008-10081 | thunder/schema/user.rs:10319-10488 | thunder/schema/user.rs:12368-12417 \u2014 These 6 members are variants of one another: a block of 14 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":7241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1702183d3409e5e759e41b366f674272e98d12caea527e5693f323edc23696a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 12 shared lines): thunder/schema/media_common.rs:571-596 | thunder/schema/tweet.rs:841-878 | thunder/schema/tweet.rs:1237-1262 | thunder/schema/tweet.rs:3341-3366 | thunder/schema/tweet_media.rs:483-514 | thunder/schema/user.rs:3349-3380 \u2014 These 6 members are variants of one another: a block of 12 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/media_common.rs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda52c36de985242e432843ecea017950b25ebf5984697738e616db73ea051e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (5 members, 27 shared lines): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:233-335 | thunder/schema/media_common.rs:385-446 | thunder/schema/tweet.rs:1635-1690 | thunder/schema/user.rs:7887-7924 | thunder/schema/user.rs:10784-10827 \u2014 These 5 members are variants of one another: a block of 27 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a588baf7bf7144e42a3060c99f6c61363cfdce3453e990661a0ff99c63e6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 44 shared lines): thunder/schema/events.rs:636-727 | thunder/schema/events.rs:833-924 | thunder/schema/events.rs:3557-3636 | thunder/schema/events.rs:3728-3807 \u2014 These 4 members are variants of one another: a block of 44 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9becd949107d319cd546ef04e5d09cd86518304ef7640191dac6dd9af596cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 37 shared lines): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:434-530 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:699-820 | thunder/schema/user.rs:12692-12807 | thunder/schema/user.rs:12953-13111 \u2014 These 4 members are variants of one another: a block of 37 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f2b838d35eb55522135e2e6ff8e163a94cf0c995017f522c1ed6e6be86d862"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 29 shared lines): home-mixer/server.rs:385-436 | home-mixer/server.rs:481-536 | home-mixer/server.rs:547-599 | home-mixer/server.rs:650-702 \u2014 These 4 members are variants of one another: a block of 29 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/server.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"1979b90ba9e874b64f1a778b74d39a5ac1d1336f96a82e866dd50f1d4195d5f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 29 shared lines): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:233-335 | thunder/schema/media_common.rs:385-446 | thunder/schema/tweet.rs:2674-2736 | thunder/schema/user.rs:10784-10827 \u2014 These 4 members are variants of one another: a block of 29 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd149aa7ec2eb1c0533f5532ac751a0da417cadd25df7f47007744d4e1a7a24d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 28 shared lines): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:233-335 | thunder/schema/tweet.rs:2674-2736 | thunder/schema/tweet.rs:3722-3783 | thunder/schema/user.rs:10784-10827 \u2014 These 4 members are variants of one another: a block of 28 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"88adff8a00e7a1b835981e9416fa0b1ca04489186fe51922ad8ae86354f8b5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 27 shared lines): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:699-820 | thunder/schema/tweet.rs:2375-2412 | thunder/schema/user.rs:11685-11734 | thunder/schema/user.rs:13627-13682 \u2014 These 4 members are variants of one another: a block of 27 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6a3e9071cf6305954ce9ca419f152fcb3bad7a8de50cff978f27a9394645db"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 25 shared lines): thunder/schema/tweet_media.rs:405-442 | thunder/schema/user.rs:3873-3910 | thunder/schema/user.rs:4614-4651 | thunder/schema/user.rs:13887-13945 \u2014 These 4 members are variants of one another: a block of 25 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet_media.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"20059c98f6ce922b1d5e1f066c5dee61a82037d2b1e180e548ea12a809452134"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 22 shared lines): thunder/schema/events.rs:2067-2116 | thunder/schema/events.rs:2264-2307 | thunder/schema/events.rs:2357-2400 | thunder/schema/tweet.rs:1057-1100 \u2014 These 4 members are variants of one another: a block of 22 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":2067}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b23bb8d183ad1d32284e1d8ea4c43d05772bbf07472ceacab1afa3f4da1655a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 22 shared lines): thunder/schema/events.rs:2848-2886 | thunder/schema/tweet.rs:986-1017 | thunder/schema/tweet.rs:2375-2412 | thunder/schema/user.rs:5855-5888 \u2014 These 4 members are variants of one another: a block of 22 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":2848}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ce89d89bff6746208c73a92a40b8bd9856f17265b1d34a1b0f65cfa254397e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 22 shared lines): thunder/schema/tweet.rs:3528-3561 | thunder/schema/user.rs:4614-4651 | thunder/schema/user.rs:12553-12608 | thunder/schema/user.rs:13887-13945 \u2014 These 4 members are variants of one another: a block of 22 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":3528}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d28e9f512bbcb3fe13a95d714bd8b03cb568f3e08d889081a569493bc12b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 11 shared lines): thunder/schema/tweet.rs:2033-2053 | thunder/schema/tweet.rs:2113-2133 | thunder/schema/user.rs:11431-11451 | thunder/schema/user.rs:11575-11595 \u2014 These 4 members are variants of one another: a block of 11 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":2033}}}],"partialFingerprints":{"codehealthFindingId/v1":"a083c57cb789ae7a2a3cb6f4463478c8f7e9b321207c170f38c632aeedd461c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 43 shared lines): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:45-154 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala:45-152 | simclusters/simclusters_v2/summingbird/storm/TwhinUserJob.scala:39-120 \u2014 These 3 members are variants of one another: a block of 43 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e6f531562fca5b14f68dce7eb64a9210e70df193e092c5caf45c2846c6e8d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 30 shared lines): home-mixer/clients/prompts_client.rs:35-85 | home-mixer/clients/simclusters_ann_client.rs:38-88 | home-mixer/clients/who_to_follow_client.rs:37-89 \u2014 These 3 members are variants of one another: a block of 30 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/prompts_client.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab540f89e13f22d8d993c6a96d122db179c8e784e71f71036e5570634063c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 22 shared lines): thunder/schema/user.rs:8771-8802 | thunder/schema/user.rs:8838-8869 | thunder/schema/user.rs:10206-10237 \u2014 These 3 members are variants of one another: a block of 22 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":8771}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc735922b53111ae419dec5a4aa288be8c673d45f9f0791910ffc37a102f11dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 18 shared lines): botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:269-458 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala:30-157 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:31-259 \u2014 These 3 members are variants of one another: a block of 18 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7c45bf3ec8e3d881c7c43e5181a956d92b27eceef5e7041d3a7b56360c465f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (283 shared lines): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1595-2315 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2414-2753 \u2014 These two members are variants of one another: 283 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d92089f9235a5a91936c4c8179eae7ca7930f4e0afa301c29c6a8048b0870f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (175 shared lines): phoenix/xrex/pallas/ranker_attention_fa3.py:89-403 | phoenix/xrex/pallas/ranker_attention_fa3.py:1252-1553 \u2014 These two members are variants of one another: 175 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"22340b155189e9f3c6ac3b9803a0b1fad95d9cb6cfe012cd516952d50d87d57c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (158 shared lines): phoenix/xrex/cutedsl/ranker_attention_fa4.py:265-689 | phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:337-775 \u2014 These two members are variants of one another: 158 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"3847be54fd6c01319f9f8e0fbdf361831d5fbef60a085423975f6b8eb3432177"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (102 shared lines): home-mixer/ads/partition_organic_blender.rs:25-199 | home-mixer/ads/time_gap_blender.rs:53-177 \u2014 These two members are variants of one another: 102 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/partition_organic_blender.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"823255330d96cebb7bec6afd0369f21b4b76d99d2206702be9e266d934c92d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (86 shared lines): phoenix/xrex/data/recsys/recsys_batch.py:1786-2118 | phoenix/xrex/data/recsys/recsys_batch.py:2134-2378 \u2014 These two members are variants of one another: 86 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"29247b64aee51514fafddf44283dbfa07a1150fb3f762c49377e2e0f74b6e397"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (75 shared lines): phoenix/xrex/pallas/ranker_attention_varlen.py:721-861 | phoenix/xrex/pallas/ranker_attention_varlen.py:891-1034 \u2014 These two members are variants of one another: 75 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72637c4cdd01d66b861f869811aea089a7197e918b4b2e480cce303caf69624"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (67 shared lines): phoenix/xrex/pallas/ranker_attention_v2.py:85-190 | phoenix/xrex/pallas/ranker_attention_v2.py:210-324 \u2014 These two members are variants of one another: 67 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e4224b1e77010c2ea74d34d22841de84b74d90fa44c9428fe1f8bb95e508d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (64 shared lines): phoenix/xrex/data/streaming/kafkaconsumer.py:1387-1530 | phoenix/xrex/data/streaming/kafkaconsumer.py:1835-2107 \u2014 These two members are variants of one another: 64 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"98516165b21258d42e3202c2b8ea6f71e1c72c8e38c4c3c4e893be9a3d57702b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (60 shared lines): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:621-796 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:901-1185 \u2014 These two members are variants of one another: 60 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"8383423c0f68387ef7b617731c2af197f4df870d603319663c3df0b91b6f32b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (59 shared lines): phoenix-rankall/src/store/base.rs:374-501 | phoenix-rankall/src/store/base.rs:522-720 \u2014 These two members are variants of one another: 59 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"466151a55fe9ce83e4b5920dfb303559ae5ceb0241de22d4573866ccb9651057"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (58 shared lines): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1433-1636 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1643-1769 \u2014 These two members are variants of one another: 58 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6689823170e982bb240e6f64b3fe3ef486914a1b571da23d832f437c3ea691fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (58 shared lines): simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:23-87 | simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:94-199 \u2014 These two members are variants of one another: 58 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f787ea6baeb24f29369d59848d5f0340d41fbf108c291224420b75dc809648fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (54 shared lines): phoenix/xrex/pallas/ranker_attention_v2.py:905-1091 | phoenix/xrex/pallas/ranker_attention_varlen.py:1054-1328 \u2014 These two members are variants of one another: 54 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef24fec0589a8f62a7bad33de9088becd3f5ca8f68d81a0e0b456d1e74f53e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (54 shared lines): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala:49-116 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala:50-136 \u2014 These two members are variants of one another: 54 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5757d2c3e282442cbefc6f85597529366f706109dc2dda2758805ae9c2c45fc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (49 shared lines): phoenix/xrex/pallas/ranker_attention_v2.py:660-757 | phoenix/xrex/pallas/ranker_attention_varlen.py:721-861 \u2014 These two members are variants of one another: 49 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9575a0496f3ad6414c303ab4de381b614bd0cc2524f4cacaebbc18512d7a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (45 shared lines): phoenix/reference/sid_codebook.py:233-286 | phoenix/reference/sid_codebook.py:603-674 \u2014 These two members are variants of one another: 45 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/sid_codebook.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9b6fcf18b681bdc21c04ea9e47e56dd279e3304258f234bd7a000ff446b92b"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (38 shared lines): phoenix/xrex/pallas/ranker_attention_v2.py:785-880 | phoenix/xrex/pallas/ranker_attention_varlen.py:891-1034 \u2014 These two members are variants of one another: 38 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc612d815b420318ac824fea4f463724a5d336c1b31fb7ca74fa502a386d451f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (38 shared lines): safety-label-source/connect.rs:179-223 | visibility-filtering/server_deps.rs:59-103 \u2014 These two members are variants of one another: 38 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"safety-label-source/connect.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6850cc8529853deece5c93ccf7959423dca8f43707a5971396a8bb9216fc0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (36 shared lines): phoenix/xrex/models/recsys_feature_prep.py:788-864 | phoenix/xrex/models/recsys_model.py:1841-1945 \u2014 These two members are variants of one another: 36 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_feature_prep.py"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"724ec8a6fd2df37f27657ffc7d013881da5c8a7c4221013eca01451c7f275da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (36 shared lines): phoenix/xrex/pallas/ranker_attention_varlen.py:218-355 | phoenix/xrex/pallas/ranker_attention_varlen.py:721-861 \u2014 These two members are variants of one another: 36 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6280b4a83c006b379ecf3b28cea6f1fc33888f3a78975199578da8c435056d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (32 shared lines): under-the-hood/scalding/UthDailyPostsBackfillJob.scala:247-320 | under-the-hood/scalding/UthDailyPostsJob.scala:353-409 \u2014 These two members are variants of one another: 32 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthDailyPostsBackfillJob.scala"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1c99c5bec1dc3a6b264fa49128d7efc1e182c113076f017b7fde6aef3e3c54"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (30 shared lines): phoenix/xrex/pallas/ranker_attention_v2.py:660-757 | phoenix/xrex/pallas/ranker_attention_v2.py:785-880 \u2014 These two members are variants of one another: 30 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4653255e37083e132046e36edd13572421abbbacd38c8e13d65d7e40da6a71d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (30 shared lines): phoenix/xrex/pallas/ranker_attention_v2.py:85-190 | phoenix/xrex/pallas/ranker_attention_varlen.py:218-355 \u2014 These two members are variants of one another: 30 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c232dca5668bd073cbd40584170b9c115bfc9d314a0ac10065bc04e4c11d6767"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (26 shared lines): grox/flows/ptos/classifier.py:251-292 | grox/flows/ptos/classifier.py:297-352 \u2014 These two members are variants of one another: 26 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3e7afc86761238f5064d3112be42007edbcad1e1fd278bf200fe540faec210"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): thunder/schema/events.rs:728-793 | thunder/schema/events.rs:925-990 \u2014 These two members are one piece of code written twice and then edited apart: 65 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":"thunder/schema/events.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed1c1de132d0a85319a559e2c0672aa576cce02cc3f857f08194310dfc92c4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): grox/flows/mm_emb/renderer_v82.py:188-243 | grox/flows/mm_emb/renderer_v8_search.py:228-288 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ace454d3879d07e3d7660c4cd35194d157b03e62793534ac07cb3067b42046d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): phoenix/xrex/pallas/ranker_attention_utils.py:28-56 | phoenix/xrex/pallas/ranker_attention_utils.py:71-99 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_utils.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c7999fe95b7bf0f40fb9c6acf5e0331a5ba4859eec76f64d1eb93f4b73b257"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): thunder/schema/tweet_events.rs:670-713 | thunder/schema/tweet_events.rs:1209-1264 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"thunder/schema/tweet_events.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70ea5e9b63e1e8e7dfec682c17e8c33872bd841c9aa1f071be124cf80e209be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): grox/flows/reply_spam/task_multi_step_reply_spam.py:156-185 | grox/flows/reply_spam/task_write.py:163-192 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_multi_step_reply_spam.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1832c77ae9d59558abc4ea246f431616ffce18777f5dfcd41dd989c1b1781f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): thunder/schema/tweet.rs:2294-2319 | thunder/schema/tweet.rs:2413-2433 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":2294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0589158e2cbc86b81e121dbac2f6f8fa8980f7f7aa4c6da9ace1b8cee4d9209"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): thunder/schema/user.rs:4838-4870 | thunder/schema/user.rs:14116-14153 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":4838}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2382013a9d74c949da29a976d6183f82578f18be3482d97ab2f3c4e270dcfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): grox/flows/upa/task_filter.py:16-40 | grox/flows/upa/task_filter.py:55-79 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/task_filter.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"25689afd3b72042040a3500ff877c1f13d80094766cf67d2f73c145cec664b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (67 members, 50\u002B identical tokens): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:35-80 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:102-143 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:167-222 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:248-319 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:352-442 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:478-593 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:632-775 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:801-852 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:876-920 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:946-1009 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1037-1119 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1155-1262 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1301-1436 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1478-1644 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1672-1726 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1752-1803 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1831-1907 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1943-2044 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2083-2212 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2254-2414 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2459-2653 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2683-2743 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2771-2825 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2855-2940 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2979-3092 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3134-3278 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3323-3501 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3549-3764 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3796-3859 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3889-3949 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3988-4082 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4124-4249 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4294-4453 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4501-4697 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4748-4984 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5026-5092 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5124-5187 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5229-5329 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5374-5508 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5556-5727 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5778-5989 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6043-6297 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6342-6411 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6445-6511 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6556-6662 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6710-6853 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6904-7087 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7141-7367 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7424-7696 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7745-7817 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7863-7932 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7981-8093 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8145-8297 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8352-8547 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8605-8846 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8907-9197 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9263-9623 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9687-10012 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10083-10219 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10267-10498 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10550-10821 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10883-11197 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11271-11732 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11791-11909 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11976-12106 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12162-12234 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12299-12643 \u2014 These 67 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 67 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 67 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc978f8593f7b7edf669a758857a91190229d1192c25aa015c4274db2b35c0b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (26 members, 50\u002B identical tokens): phoenix-rankall/src/processor/gen/hydra.rs:181-193 | phoenix-rankall/src/processor/gen/hydra.rs:457-469 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:676-695 | thunder/schema/events.rs:617-632 | thunder/schema/events.rs:814-829 | thunder/schema/events.rs:1521-1540 | thunder/schema/events.rs:3540-3553 | thunder/schema/events.rs:3711-3724 | thunder/schema/media_entity.rs:132-151 | thunder/schema/tweet.rs:1401-1415 | thunder/schema/tweet_events.rs:111-123 | thunder/schema/tweet_events.rs:386-397 | thunder/schema/user.rs:3414-3426 | thunder/schema/user.rs:3573-3586 | thunder/schema/user.rs:4356-4376 | thunder/schema/user.rs:5977-6048 | thunder/schema/user.rs:7213-7237 | thunder/schema/user.rs:7526-7549 | thunder/schema/user.rs:8308-8322 | thunder/schema/user.rs:8948-9005 | thunder/schema/user.rs:9652-9670 | thunder/schema/user.rs:9992-10004 | thunder/schema/user.rs:10287-10315 | thunder/schema/user.rs:12669-12688 | thunder/schema/user.rs:12924-12949 | thunder/schema/user.rs:14224-14268 \u2014 These 26 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 26 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 26 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b69f84401250d259af41a0ebd7bf3a8e584e234371e99dbd30973e5edce6ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:272-319 | botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:329-375 | botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:386-473 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:132-309 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:323-456 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:142-277 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:290-374 | botmaker/src/scala/com/twitter/botmaker/runtime/LogWriter.scala:127-171 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bd1d1c84c242a7f5511e8b5f43dd97a14b80c40b84f3a386e7711f3d2016fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala:49-174 | simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala:51-195 | simclusters/simclusters_v2/summingbird/storm/PersistentTweetJobRunner.scala:54-210 | simclusters/simclusters_v2/summingbird/storm/TweetJobRunner.scala:59-256 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJobRunner.scala:55-206 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala:51-195 | simclusters/simclusters_v2/summingbird/storm/TwhinTweetJobRunner.scala:54-233 | simclusters/simclusters_v2/summingbird/storm/TwhinUserJobRunner.scala:51-180 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2475728ecee8a4bf280a6a80d5546f90881d862877405590b37133daad66907f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): phoenix-rankall/src/processor/gen/hydra.rs:114-143 | thunder/schema/events.rs:1678-1775 | thunder/schema/events.rs:4073-4087 | thunder/schema/tweet.rs:1895-1909 | thunder/schema/tweet.rs:1959-1973 | thunder/schema/user.rs:3813-3851 | thunder/schema/user.rs:5387-5690 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04ff90af71ba0fb86956bf85c0ef581278a306aa81467cbda9c6f786492b81b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): thunder/schema/events.rs:1121-1134 | thunder/schema/events.rs:1155-1168 | thunder/schema/tweet.rs:2334-2347 | thunder/schema/tweet.rs:3304-3317 | thunder/schema/tweet.rs:3392-3405 | thunder/schema/tweet.rs:3489-3502 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0def70ace6976d69425ca287a318710be57f45175103ed6a28be6a8507c5c3d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): thunder/schema/events.rs:3332-3358 | thunder/schema/events.rs:3385-3411 | thunder/schema/events.rs:3881-3907 | thunder/schema/events.rs:3934-3960 | thunder/schema/tweet.rs:3928-3984 | thunder/schema/tweet.rs:5318-5344 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":3332}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebebcddef9894f98512e7989e52ccd6e9bb2de9b412cfc918cc281ce6619ac05"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): thunder/schema/events.rs:4137-4464 | thunder/schema/tweet.rs:4735-4824 | thunder/schema/tweet.rs:5228-5282 | thunder/schema/tweet_events.rs:1319-1436 | thunder/schema/tweet_media.rs:841-909 | thunder/schema/user.rs:4926-5386 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":4137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7ea9e64b2da9996942bb04bf054965fe162c57b026169acf2c8e0c18663556"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): thunder/schema/tweet.rs:4206-4226 | thunder/schema/tweet.rs:4294-4314 | thunder/schema/tweet.rs:4382-4402 | thunder/schema/tweet.rs:4470-4490 | thunder/schema/tweet.rs:4558-4578 | thunder/schema/tweet.rs:4646-4666 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":4206}}}],"partialFingerprints":{"codehealthFindingId/v1":"02de555ff4b93847fed845304f09d395d8605d77122bc870db4415d781d8f03a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): agatha/hub/agatha/job/AgathaJobTemplates.scala:118-129 | agatha/hub/agatha/job/AgathaJobTemplates.scala:168-179 | agatha/scalding/blink/BlinkScoreJobTemplate.scala:261-272 | agatha/scalding/data/FeatureExtractionTemplate.scala:41-56 | agatha/scalding/labels/LabelExtractionTemplate.scala:57-71 | agatha/scalding/quantile/QuantileFeatureExport.scala:198-209 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agatha/hub/agatha/job/AgathaJobTemplates.scala"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f32d82c495c446584e1f5fe5e47ad4d7a0226b9e1083d4b7d96b6c915bb2be"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala:313-328 | simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala:336-351 | simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala:359-374 | simclusters/simclusters_v2/scalding/mbcg/UserEmbeddingGenerationJob.scala:200-215 | simclusters/simclusters_v2/scalding/mbcg/UserEmbeddingGenerationJob.scala:223-238 | simclusters/simclusters_v2/scalding/mbcg/UserEmbeddingGenerationJob.scala:246-261 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e8ea584d06933c8e7bd97c33323aaaa6b76e530540017de40f4fe609cf0a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java:33-48 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberRemoveRequestResult.java:33-48 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListRemoveRequestResult.java:33-46 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListSubscribeRequestResult.java:33-48 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListUnsubscribeRequestResult.java:33-48 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListUpdateRequestResult.java:37-57 \u2014 These 6 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 6 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 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"464c53a2867256a1ad4dc40eea01ba482eec1c0aec2983e1e57c71e768af643b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): phoenix/crates/common/xai-recsys/src/util.rs:858-1105 | phoenix/crates/common/xai-recsys/src/util.rs:1211-1559 | phoenix/crates/common/xai-recsys/src/util.rs:1569-2035 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:48-237 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:246-469 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a01acaf6dcb71cbd4d9b7e9ae5363fd23e650da662faf21ad80d072eeca125"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): thunder/schema/events.rs:1678-1775 | thunder/schema/tweet.rs:1530-1607 | thunder/schema/user.rs:5387-5690 | thunder/schema/user.rs:9942-9974 | thunder/schema/user.rs:10737-10760 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16cec6c57fdea590c5ebdbe5e812091f74e29365f51821f73f4c631b915efcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): thunder/schema/media_common.rs:538-553 | thunder/schema/tweet.rs:1530-1607 | thunder/schema/user.rs:5387-5690 | thunder/schema/user.rs:13112-13232 | thunder/schema/user.rs:13394-13424 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/media_common.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca7730998b951249a85a44cb341548f14828339777cc94d25b0034516fdef45"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): thunder/schema/tweet.rs:2825-2839 | thunder/schema/tweet_events.rs:714-738 | thunder/schema/tweet_events.rs:1265-1299 | thunder/schema/tweet_events.rs:1627-1656 | thunder/schema/user.rs:5387-5690 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3779ff24ee621368027e25e4019464cb6022e3e547b6c426afeefc11fe5eb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): home-mixer/clients/author_brand_safety_client.rs:47-82 | home-mixer/clients/post_v8_search_embedding_client.rs:37-51 | home-mixer/clients/recent_search_queries_store_client.rs:31-46 | home-mixer/clients/resurrection_date_client.rs:74-89 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/author_brand_safety_client.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"069e5a9f5edaeff75cb297810a4621761e9620f1932deea304eb8ab96c66eab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): phoenix-rankall/src/store/base.rs:1152-1172 | phoenix-rankall/src/store/base.rs:1174-1187 | phoenix-rankall/src/store/base.rs:1189-1215 | phoenix-rankall/src/store/base.rs:1217-1256 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c443afce5302f96837d828034c8016ba2e9d4d539a8f6bf255b983af14af6157"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): thunder/schema/events.rs:1218-1228 | thunder/schema/events.rs:1272-1282 | thunder/schema/events.rs:4013-4023 | thunder/schema/tweet.rs:4062-4072 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"460b6d51e219a474d3f3a087da3717238cd54c5313a19fe84679ac2760794073"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala:46-59 | simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala:65-79 | simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala:84-102 | simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala:108-127 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccc3f5858f116e827666df58c1b2158464454de1ccbf326aa1e8e41b486132c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): botmaker/src/java/com/twitter/botmaker/compiler/Parser.java:26-55 | botmaker/src/java/com/twitter/botmaker/compiler/Parser.java:58-102 | botmaker/src/java/com/twitter/botmaker/compiler/Parser.java:122-164 | botmaker/src/java/com/twitter/botmaker/compiler/Parser.java:196-229 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Parser.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52250d8b1f5831d97bfb3fce59e46954e79c92b2528c7f17d68f16ddbf87064"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): grox/flows/reply_spam/classifier_coordinated_spam.py:141-151 | grox/flows/reply_spam/classifier_multi_step_reply_spam.py:145-155 | grox/flows/reply_spam/classifier_reply_ranking.py:97-107 | grox/flows/reply_spam/classifier_simple_reply_scorer.py:75-85 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e5fa01aa063c2ff50bbd60b7bf08fb8498969986c02e685895c1dfe41a1d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): phoenix/reference/sid_assign.py:24-35 | phoenix/reference/sid_codebook.py:575-592 | phoenix/reference/sid_codebook.py:603-674 | phoenix/reference/sid_io.py:187-231 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/sid_assign.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc96f84f5e5e2e57052261f730783d520e7bec4836458888bba90c604cda61e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (344 corresponding lines): thunder/schema/user.rs:6052-6479 | thunder/schema/user.rs:9009-9352 \u2014 These two members are one piece of code written twice and then edited apart: 344 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":"thunder/schema/user.rs"},"region":{"startLine":6052}}}],"partialFingerprints":{"codehealthFindingId/v1":"e125541feb89c500aec121e5abf431b389b6ebdddc7ee1a89c2197b37cc91bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:152-220 | phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:229-292 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"251b503c847dff188849e58ecc93cf822019d6c57af95fa01f2645f5cbfcffcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (90 corresponding lines): thunder/schema/media_entity.rs:277-366 | thunder/schema/user.rs:4502-4592 \u2014 These two members are one piece of code written twice and then edited apart: 90 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":"thunder/schema/media_entity.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f5fc35965b7a4f244d2b870f957a8ff73c9a9df989b32de36c5308bfdc89fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): botmaker/src/scala/com/twitter/botmaker/compiler/types/ScalaType.scala:65-130 | botmaker/src/scala/com/twitter/botmaker/compiler/types/ScalaType.scala:178-250 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"botmaker/src/scala/com/twitter/botmaker/compiler/types/ScalaType.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0af2c02acfe54c21c330e78802a8011da8994b8b43fc4b6159c7d0b14fc92b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (122 corresponding lines): thunder/schema/events.rs:1544-1677 | thunder/schema/media_entity.rs:155-276 \u2014 These two members are one piece of code written twice and then edited apart: 122 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":"thunder/schema/events.rs"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"10df432829b55f07b3490af742560c4453f26a3ec527fccbfe87b3a333d1e0b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (81 corresponding lines): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:821-910 | thunder/schema/user.rs:9784-9864 \u2014 These two members are one piece of code written twice and then edited apart: 81 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":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"f941b2a9c3a2ac47dcc44bda57fe3ba4810e73fd726e8702694a648488dde2f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (144 corresponding lines): under-the-hood/scalding/UthDailyPostsBackfillJob.scala:26-180 | under-the-hood/scalding/UthDailyPostsJob.scala:33-176 \u2014 These two members are one piece of code written twice and then edited apart: 144 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":"under-the-hood/scalding/UthDailyPostsBackfillJob.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9f49b3787d892974e924912526a3a91086315f9c31ce564d8038fa690dbd95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 62\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:490-551 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:740-801 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:804-865 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 62 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da797b2de2d5d0ffec80132f3b9d771de82086dd4d8a2b6423b08f885589ac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): phoenix/xrex/pallas/attention.py:366-433 | phoenix/xrex/pallas/attention.py:459-531 \u2014 These two members are one piece of code written twice and then edited apart: 68 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":"phoenix/xrex/pallas/attention.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa61b91a9fc991d97a2009593b055691aa77272e283ef30a5bbaf13a2a4b8a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 56\u002B corresponding lines): thunder/schema/events.rs:728-793 | thunder/schema/events.rs:3637-3692 | thunder/schema/events.rs:3808-3863 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 56 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63c97f0412be83c1c3d498455c73c8b38cd512d02f950c987bdb5feda4bbce0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:336-394 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:531-586 \u2014 These two members are one piece of code written twice and then edited apart: 56 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":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"889f7fbd7a6455977e0fea2a9b75602e08dbc752e90b48dc6bedf45eeaf89a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): phoenix/reference/mm_snapshot_gen.py:109-162 | phoenix/reference/mm_snapshot_gen.py:166-229 \u2014 These two members are one piece of code written twice and then edited apart: 54 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":"phoenix/reference/mm_snapshot_gen.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1739991896658862fef59d60b97e89eb5106ecc4f948286bd4a9e4e494f71d26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): vm-ranker/helpers.rs:32-88 | vm-ranker/helpers.rs:92-152 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"vm-ranker/helpers.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6450fa0d54068756c4f0e1d89d347ac22d40a3ba17c72054388eb0a7f4fe2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (79 corresponding lines): grox/flows/reply_spam/task_filter.py:104-182 | grox/flows/reply_spam/task_multi_step_reply_spam.py:32-124 \u2014 These two members are one piece of code written twice and then edited apart: 79 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":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37ceafa1b87b9f26a0e08f60b15d9dc05eba8576d14ee581c0167cee59beaad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): abuse-enforcement-service/service-lib/src/action_control.rs:1276-1344 | abuse-enforcement-service/service-lib/src/head_guard.rs:465-529 \u2014 These two members are one piece of code written twice and then edited apart: 65 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":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf9571f83e642c5da697e27802073711db3c983d9e6cd40fcf096535d8cd196"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:24-79 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java:24-80 \u2014 These two members are one piece of code written twice and then edited apart: 56 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":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f014c39fab6bd4dd2548ad831dcf9b3521e4457fb0c8376aadba190cdf738d3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): phoenix-rankall/src/processor/gen/hydra.rs:271-325 | phoenix-rankall/src/processor/gen/hydra.rs:549-607 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7394021933258f55f3b3f5ac592665b03a9f013901892e02759d91400546ab9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): thunder/schema/tweet_events.rs:127-207 | thunder/schema/tweet_events.rs:401-468 \u2014 These two members are one piece of code written twice and then edited apart: 68 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":"thunder/schema/tweet_events.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"81654171369eb889d73db2c6c9ff04e58ee0cd659fba0ca7209ef50a40611bb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 79\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:868-946 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:948-1027 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1029-1109 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 79 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5c7183f4646dd3491227451b610b26c847d89e4ba25c363471452ea3b24501"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): thunder/schema/tweet_events.rs:208-263 | thunder/schema/tweet_events.rs:469-514 \u2014 These two members are one piece of code written twice and then edited apart: 46 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":"thunder/schema/tweet_events.rs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1660fde4ee7a99c7204770b4cb33a90aeb032d4d5e542f48fe1c00ca5f968322"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): thunder/schema/user.rs:3430-3503 | thunder/schema/user.rs:3590-3669 \u2014 These two members are one piece of code written twice and then edited apart: 74 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":"thunder/schema/user.rs"},"region":{"startLine":3430}}}],"partialFingerprints":{"codehealthFindingId/v1":"9832a39c86bd059515cf995c67f41172c9b67b6232d9ed78b77e8c9265015261"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): abuse-enforcement-service/service-lib/src/service.rs:1521-1589 | abuse-enforcement-service/service-lib/src/service.rs:1960-2041 \u2014 These two members are one piece of code written twice and then edited apart: 69 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":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1521}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2eb26c3ec15948bbfac47fa62f87bac85944623df6c5db557411b46db7c9469"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): phoenix-rankall/src/processor/gen/scored_candidate.rs:153-200 | thunder/schema/user.rs:12294-12342 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc41dd1c0b25462b98ee203c911ef096e0781cf3cf20ff54dfc2e8a57c7932e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (75 corresponding lines): under-the-hood/scalding/UthReferenceMonthMhPublisherJob.scala:34-108 | under-the-hood/scalding/UthUserMonthMhPublisherJob.scala:28-110 \u2014 These two members are one piece of code written twice and then edited apart: 75 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":"under-the-hood/scalding/UthReferenceMonthMhPublisherJob.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4abc374ffa843aacd5bb0103bb658f44cc90ed0945089b4ab3a402d9c785ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 74\u002B corresponding lines): phoenix-rankall/src/processor/gen/hydra.rs:197-270 | phoenix-rankall/src/processor/gen/hydra.rs:475-548 | phoenix-rankall/src/processor/gen/scored_candidate.rs:77-152 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 74 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0c61716434779da1c7ad83e24c03cae373c62ce3bd4eebb8b0ba88220b06c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (100 corresponding lines): grox/core/data_loaders/data_types.py:803-914 | grox/core/data_loaders/post_mapper.py:87-186 \u2014 These two members are one piece of code written twice and then edited apart: 100 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":"grox/core/data_loaders/data_types.py"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf7c2446d86778333d77677d95e6d0cd588fd78fc815d72b4415ceb3758591f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (63 corresponding lines): phoenix-rankall/src/processor/sid_processor.rs:38-100 | phoenix-rankall/src/processor/sid_tail_processor.rs:42-122 \u2014 These two members are one piece of code written twice and then edited apart: 63 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":"phoenix-rankall/src/processor/sid_processor.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d13cd5fd6f2dd8a4818eb2bd8875fc4468de2ee69e4a14b53f3b0c8cdc7b29e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (61 corresponding lines): phoenix/xrex/inference/model_runner.py:4221-4294 | phoenix/xrex/inference/model_runner.py:5357-5417 \u2014 These two members are one piece of code written twice and then edited apart: 61 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":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4221}}}],"partialFingerprints":{"codehealthFindingId/v1":"db011831b19f6f5980a13fb432467fc8566af61f5316c49fca348807f0045ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1318-1377 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1380-1443 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec1b7bc86da307bbe09f83c912b7f7374bd3226fc1a63d9db9b9ef9405c2dff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Mock.java:22-94 | botmaker/src/java/com/twitter/botmaker/compiler/Mock.java:96-162 \u2014 These two members are one piece of code written twice and then edited apart: 67 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Mock.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c1a2bc03a445e618db6fcc5ab150b7852c01628cfa24df27ed81144827d37e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): grox/flows/mm_emb/embedder_v82.py:60-114 | grox/flows/mm_emb/embedder_v8_search.py:59-109 \u2014 These two members are one piece of code written twice and then edited apart: 51 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":"grox/flows/mm_emb/embedder_v82.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f050250ac64fd34b2b3d17c9968c821ce4fb4353d1e28ad2ded2cdc5e1629d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): home-mixer/scorers/value_model.rs:8-52 | vm-ranker/scoring/value_model.rs:72-121 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"home-mixer/scorers/value_model.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab484b38f494999ab437aacb1b4f1b69082bcfd20bcdbba72a924c3aca5627e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): grox/flows/reply_spam/classifier_coordinated_spam.py:174-222 | grox/flows/reply_spam/classifier_multi_step_reply_spam.py:178-226 \u2014 These two members are one piece of code written twice and then edited apart: 49 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":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3400d16dc54846b5d1a815f7e28be8fc62278bbb014c547738eec8dbafa446"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): phoenix/xrex/configs/xrecsys.py:77-128 | phoenix/xrex/configs/xrecsys_two_tower.py:71-118 \u2014 These two members are one piece of code written twice and then edited apart: 48 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":"phoenix/xrex/configs/xrecsys.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"73016d4f7e09d678a56d4e78dce1fc00c1aaf2f8b70c7ad3554f067ea67aa2ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): simclusters/simclusters_v2/scalding/InterestedInFromKnownFor.scala:210-292 | simclusters/simclusters_v2/scalding/InterestedInFromKnownForLite.scala:203-271 \u2014 These two members are one piece of code written twice and then edited apart: 69 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":"simclusters/simclusters_v2/scalding/InterestedInFromKnownFor.scala"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e80ad6000a1741a383d9e03e77cd37c29396115e50081e346e0d94733f52a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (62 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Mock.java:26-92 | botmaker/src/java/com/twitter/botmaker/compiler/Mock.java:99-160 \u2014 These two members are one piece of code written twice and then edited apart: 62 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Mock.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2fad8b546d3489aa002e6b39497db4d13fb18015d79395d387cb591cda7f3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): thunder/schema/tweet.rs:3001-3062 | thunder/schema/user.rs:7091-7147 \u2014 These two members are one piece of code written twice and then edited apart: 57 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":"thunder/schema/tweet.rs"},"region":{"startLine":3001}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f7b7400edfc8da85125017fc465bc483a96e64e74edde0065ea00307e0ff50"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): thunder/strato_client.rs:97-162 | thunder/strato_client.rs:164-232 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"thunder/strato_client.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c37ea8b4560b7ea8326893279e011bdb9688a4d9dd5e46dcab73246c4ed814"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): phoenix/xrex/cuda/async_emb/async_emb.py:103-157 | phoenix/xrex/cuda/row_emb/row_emb.py:104-165 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"phoenix/xrex/cuda/async_emb/async_emb.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c35b4e02c66ab0648307951db3b71eaec15871db5213cfa9e47606f68b7e51"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): phoenix/xrex/models/recsys_attention.py:20-86 | phoenix/xrex/models/recsys_attention.py:91-150 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"phoenix/xrex/models/recsys_attention.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54b0868c83dd185dd1717d402b0edc101ebaa9ffef2e423ee1cd7af06af8b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java:94-137 | botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java:93-136 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"344d954fc20e42438a2db349eec19411be23abeaa14f5b791a0f5ceafcd380d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): thunder/schema/user.rs:8064-8119 | thunder/schema/user.rs:9886-9941 \u2014 These two members are one piece of code written twice and then edited apart: 56 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":"thunder/schema/user.rs"},"region":{"startLine":8064}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a508173d0f45ac988f455c39fede7fdc8765c7b0b9a7e24220a6ab77804bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/collection/Filter.java:62-108 | botmaker/src/java/com/twitter/botmaker/function/collection/ForEach.java:57-105 \u2014 These two members are one piece of code written twice and then edited apart: 47 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/Filter.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0615bf327299d5aacfcecbee4582878cfff64853415b2ee05c28b284f93115"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): grox/flows/reply_spam/task_filter.py:23-94 | grox/flows/reply_spam/task_filter.py:191-249 \u2014 These two members are one piece of code written twice and then edited apart: 59 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":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"999af32e6afe33d9194c44ba99e2b17f22e3a3a0f904d408e0821c63259249f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/exception/Try.java:64-105 | botmaker/src/java/com/twitter/botmaker/function/exception/TryWithStack.java:68-111 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/exception/Try.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bce5bd80cdef6a6a902228bf9f76c0bb88fd0a76eb4e3b0a97ece44704ad57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/FunctionNode1.java:24-59 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode3.java:24-64 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode1.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"934cb558416b407de1286a634436953df8b61b85cc0fe1f53475b02d405acd55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala:506-547 | simclusters/simclusters_v2/scalding/update_known_for/UpdateKnownForSBFRunner.scala:250-291 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01ac5f581bf848f83763ca72017015808bb7bb7e247a46bc9c0e788a2da60b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): thunder/schema/tweet.rs:1691-1726 | thunder/schema/tweet.rs:2737-2775 | thunder/schema/user.rs:11084-11114 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1691}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6c350f2a8ddc1f5bad1ca0098287156079eabcfcc1689cb5add6a4f581f5b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): home-mixer/candidate_hydrators/ai_trend_feedback_context_hydrator.rs:127-155 | home-mixer/candidate_hydrators/topic_feedback_context_hydrator.rs:63-103 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/ai_trend_feedback_context_hydrator.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4af88b2f3cda796684e9478ba6af7760b418ced6ef553baf5c44b2c822e21d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 31\u002B corresponding lines): thunder/schema/tweet.rs:5435-5469 | thunder/schema/user.rs:11735-11765 | thunder/schema/user.rs:13683-13718 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 31 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":5435}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cea245dfe89b96fd7d3a10b45edc2957def05e3320bd62c1204c9888f250b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 59\u002B corresponding lines): abuse-enforcement-service/service-lib/src/action_control.rs:1427-1488 | abuse-enforcement-service/service-lib/src/head_guard.rs:600-658 | abuse-enforcement-service/service-lib/src/off_switch.rs:634-701 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 59 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0e70c2c83ea6915752a9ee83784453e6c219f9d8ecaaf7162d0ad1943d9bd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (60 corresponding lines): thunder/kafka/tweet_events_listener.rs:128-187 | thunder/kafka/tweet_events_listener_v2.rs:48-111 \u2014 These two members are one piece of code written twice and then edited apart: 60 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":"thunder/kafka/tweet_events_listener.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a936f20d975649f00d6c7c5b3e00b3eb0df2305bad1f08a4894c7aaf222c8b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): thunder/schema/tweet_events.rs:825-869 | thunder/schema/user.rs:10937-10982 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"thunder/schema/tweet_events.rs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"da26f08481c0a02357d03b81b9aaeb6dec4125a8632c031edd319946989891dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 46\u002B corresponding lines): phoenix-rankall/src/processor/gen/hydra.rs:64-113 | phoenix-rankall/src/processor/gen/hydra.rs:350-395 | phoenix-rankall/src/processor/gen/scored_candidate.rs:309-366 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 46 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"851fdaae0065f0a98e83dce9b811962a01254d9457f4c3b2a8711a2e39bcfd24"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): thunder/schema/events.rs:1801-1850 | thunder/schema/events.rs:1972-2015 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"thunder/schema/events.rs"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb427dae1e512548cc68a77efac54ddf4d4351985defdfa59c63da956fa8633"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): home-mixer/candidate_pipeline/following_candidate_pipeline.rs:179-234 | home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs:215-286 \u2014 These two members are one piece of code written twice and then edited apart: 56 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":"home-mixer/candidate_pipeline/following_candidate_pipeline.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7561306a5881ff3b76de2655cccd1d6cd4add2383e2e98623917808ce2df3dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 44\u002B corresponding lines): thunder/schema/events.rs:2610-2653 | thunder/schema/tweet.rs:1754-1809 | thunder/schema/user.rs:11227-11276 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 44 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":2610}}}],"partialFingerprints":{"codehealthFindingId/v1":"926beef3c8f25827b5e746b0aaac80a881edbc97cd0a54a90b90d76822286209"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): home-mixer/clients/prompts_client.rs:93-128 | home-mixer/clients/simclusters_ann_client.rs:96-131 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/prompts_client.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e774c8c6927af1e37f04211fc4e9fcce98007458fa8e6a14a8422c286c0fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 30\u002B corresponding lines): thunder/schema/tweet.rs:3985-4018 | thunder/schema/tweet_media.rs:286-316 | thunder/schema/user.rs:12609-12644 | thunder/schema/user.rs:13946-13975 | thunder/schema/user.rs:14059-14094 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":3985}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9649930ec07031ffa931227ad8f796b62580db43b7430fcc5c5c1a61960ff7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java:124-157 | botmaker/src/java/com/twitter/botmaker/function/logic/Disjunction.java:125-159 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e6c75d54039533a226f802eab892a86f335b4425ff5beb7991af5d1be304ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): thunder/schema/tweet.rs:2250-2293 | thunder/schema/user.rs:14003-14058 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"thunder/schema/tweet.rs"},"region":{"startLine":2250}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7ba86d7102387b1e82725819cb907254a9e9b66a7ccacc023af6429226add7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:907-943 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:946-980 \u2014 These two members are one piece of code written twice and then edited apart: 35 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":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"db275ab3aa713d78e90d1250e0d7b492df1fcb4cc05402c92bb1b59187ad222d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 44\u002B corresponding lines): thunder/schema/tweet.rs:3601-3656 | thunder/schema/user.rs:4128-4171 | thunder/schema/user.rs:7969-8012 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 44 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":3601}}}],"partialFingerprints":{"codehealthFindingId/v1":"f233b2e9ba8ef96bfce3e88747b57d737ced8c318a7d39269c4dc9865a0d2d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): abuse-enforcement-service/service-lib/src/action_control.rs:1537-1572 | abuse-enforcement-service/service-lib/src/off_switch.rs:335-381 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c885a2ec4084005bfbbed04d69681ed2d4c223aa6b1747b1de74d798eb3432"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): grox/flows/mm_emb/renderer_v82.py:342-372 | grox/flows/mm_emb/renderer_v8_search.py:431-461 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5772de1fc2b43e4d9b59fc78dde17b3bc379a4af1bea737ac6639c2483197d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): home-mixer/candidate_pipeline/following_candidate_pipeline.rs:236-272 | home-mixer/candidate_pipeline/ranked_following_candidate_pipeline.rs:182-215 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_pipeline/following_candidate_pipeline.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb11320941db9fbf83f95ba9dc36b3d3c8bf03a1c93bfa8ae55717fcc961ea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): thunder/schema/events.rs:2117-2147 | thunder/schema/events.rs:2308-2333 | thunder/schema/events.rs:2401-2426 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2cd7ded16306ae3f4b8ac4c18a1af7640b83a04a03a57d6ad37c1808fbd238"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingsJob.scala:77-121 | simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingsJob.scala:240-304 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingsJob.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1fdec817a6130c2a6aa6b50dda3db32e2e6fedfff1b105ad105a5f64af5559"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java:91-136 | botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java:144-189 \u2014 These two members are one piece of code written twice and then edited apart: 46 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":"botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5d7d6d4a727288910c61b63129324cd369878aaa86d20a8362b25c4948f5c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): grox/flows/mm_emb/renderer.py:56-92 | phoenix/reference/mm_encoder.py:133-169 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"grox/flows/mm_emb/renderer.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1424d5fd23102cd4f6c3f3907275a0e1d531a2e728dae79c8f8ce33be55689c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 38\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/function/FunctionNode.java:24-65 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O3.java:26-63 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode2.java:23-62 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode6O5.java:26-63 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 38 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"091b8dfc35f7cc0aca5d9acdc54e3d760d144197042a2be168b94f77663c89c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): thunder/schema/events.rs:1851-1881 | thunder/schema/events.rs:2016-2041 | thunder/schema/tweet_events.rs:339-369 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10f8cd4414d3410e1ac7876585803f503bcf31c34adbfb2acdd16983abe212f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceUserBannedEvent.java:24-52 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceUserUnbannedEvent.java:24-49 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceUserBannedEvent.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc5ba8f3cca4a7892d141829cd8c9814dd4d51fa662d939706a6f32ca5c613f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): home-mixer/util/popular_authors.rs:57-85 | home-mixer/util/popular_posts.rs:107-136 \u2014 These two members are one piece of code written twice and then edited apart: 29 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/popular_authors.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afb41a027a28b93eba145b8860c1143c3d56829bf1cdf3bcd54bc48c81a3145"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): thunder/schema/media_entity.rs:49-86 | thunder/schema/user.rs:3180-3223 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"thunder/schema/media_entity.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fa748ab8e7c30c3b7453def91dd532d953529a7ec7267d7a973441c26476aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): thunder/schema/user.rs:11918-11955 | thunder/schema/user.rs:11998-12035 \u2014 These two members are one piece of code written twice and then edited apart: 38 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":"thunder/schema/user.rs"},"region":{"startLine":11918}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12b1c1d1588c3fd486fa60927165720f6c4ed4d52e82567c1f4f36a39399e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): thunder/schema/tweet_events.rs:968-997 | thunder/schema/tweet_events.rs:1065-1090 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet_events.rs"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb0f80b0d7c6e6f7eccb0d73ef47fd0c2b0ff15e691f8e917b4dad5ae3c6218"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 44\u002B corresponding lines): thunder/schema/tweet_media.rs:236-285 | thunder/schema/tweet_media.rs:683-726 | thunder/schema/user.rs:6996-7039 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 44 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet_media.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc7c79a789c933972a2585dcacbd367891c87456b35d78d9c0e2b1771b1cd03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/DerivedFeatureCall.java:192-237 | botmaker/src/java/com/twitter/botmaker/function/With.java:113-148 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/DerivedFeatureCall.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d1c30ec832f6ce8b0ef3a8e75b684ad3291cb1cdee3e20b5f066f842ac8b58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): phoenix/xrex/configs/xrecsys.py:145-186 | phoenix/xrex/configs/xrecsys_two_tower.py:150-199 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/xrecsys.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9b691bb33b399e93ab23abca53c9b6e98085511be5001a15624dd64ecf7d65"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): thunder/schema/user.rs:4172-4197 | thunder/schema/user.rs:8013-8038 | thunder/schema/user.rs:8548-8578 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":4172}}}],"partialFingerprints":{"codehealthFindingId/v1":"8786d28a89eb86bc3bdbf87050ddbbbf8ed520854dbedd4c09c69115736bd97d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): thunder/schema/tweet.rs:1101-1126 | thunder/schema/user.rs:7040-7065 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcce2125289cffc3061ada2bade0d868d5273326a422a58ad4bdbbfa0c922b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): bdsm/runtime/gizmoduck_age.py:56-90 | bdsm/runtime/login_starter_pack_counter.py:65-110 | bdsm/runtime/starter_pack_follows.py:64-103 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 35 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/gizmoduck_age.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb03804e202a247ed91e540f9d606b1f496c013aae86316398b7d8d0399c9ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): grox/flows/mm_emb/renderer.py:162-195 | phoenix/reference/mm_encoder.py:218-249 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3197f38a74f39825e4ec05fc527605e11d38a8015939fa6d88fecbf25232ef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): phoenix/xrex/pallas/attention.py:230-295 | phoenix/xrex/pallas/ranker_attention_v2.py:555-632 \u2014 These two members are one piece of code written twice and then edited apart: 66 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":"phoenix/xrex/pallas/attention.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"998f7406b58753241d4bafcf66b02f449c85b3e609824e5e4a461745e5e45c2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): grox/libs/kafka_cli/producer.py:56-95 | grox/libs/kafka_cli/producer.py:136-171 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce942bef14573f9ae707cf35b104da6b042997b21c3164915ed8265bd1affa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): abuse-enforcement-service/service-lib/src/service.rs:2330-2371 | abuse-enforcement-service/service-lib/src/service.rs:2562-2610 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":2330}}}],"partialFingerprints":{"codehealthFindingId/v1":"532118e44c31dbb02bbc6a5aef370262dae0f15e1d750f7b58660ef31713ffbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): thunder/schema/media_common.rs:505-537 | thunder/schema/user.rs:5787-5819 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/media_common.rs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9165fa9a8ec26ea17586bca7ced6ccad37f382140c14ec01540e095caa8ed56"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (55 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java:120-174 | botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java:176-230 \u2014 These two members are one piece of code written twice and then edited apart: 55 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":"botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7371583695847030fa5c9fbc22d6b6009ca2759c12d880225215083809184261"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): grox/libs/video_tools/frame_sampler.py:38-76 | grox/libs/video_tools/frame_sampler.py:91-124 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/frame_sampler.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d22977838053e566b6e27fd0179c1de8086f6649b8f88fb2336d333c1b4d46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): abuse-enforcement-service/service-lib/src/service.rs:1308-1347 | abuse-enforcement-service/service-lib/src/service.rs:1375-1420 \u2014 These two members are one piece of code written twice and then edited apart: 40 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":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce8daadbbab64d8178832c501e0950acac2381781e926eac93bac83e4e370fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): phoenix-rankall/src/processor/main_processor.rs:28-66 | phoenix-rankall/src/processor/topic_processor.rs:27-79 \u2014 These two members are one piece of code written twice and then edited apart: 39 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":"phoenix-rankall/src/processor/main_processor.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"87935dfbf6c7efbf2260e5ee6a1d40dd07031cea92880d20a41417ef91e12516"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsBlockGraphEvent.java:36-63 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsFollowGraphEvent.java:37-68 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsBlockGraphEvent.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e56045ba6c1ed47e366bb1d3426cbe5a88076c8202c6c939d20210166e3fc8eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 32\u002B corresponding lines): thunder/schema/tweet.rs:1863-1894 | thunder/schema/tweet.rs:1927-1958 | thunder/schema/tweet.rs:5172-5204 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 32 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b46fdfd1d7ca6ffe8e816c45db249382f7c9ee7b18cbfe7cf733a81d832e21c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): phoenix/xrex/configs/data_feeds.py:122-151 | phoenix/xrex/configs/data_feeds.py:155-186 | phoenix/xrex/configs/data_feeds.py:190-223 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/data_feeds.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bfce2d9b74d136f538fbcbdb4dbb542a4fc3f7c5e16914e109c20b2d97d5f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): simclusters/simclusters_v2/scalding/evaluation/EvaluationReferenceDataExtraction.scala:158-194 | simclusters/simclusters_v2/scalding/evaluation/EvaluationReferenceDataExtraction.scala:201-233 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/evaluation/EvaluationReferenceDataExtraction.scala"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a295224b7cf15c94cb58ed3a75c1b64e6020eac3aff633e22b2d7b473811601"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): under-the-hood/scalding/AccountLabelEvents.scala:27-54 | under-the-hood/scalding/legacy_experimental_adhoc/UthGizmoduckSafetyFlagDailyBackfillJob.scala:193-214 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/AccountLabelEvents.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fec0285f12267f4aeda54bcd52cfcbc2b161e6e9f46a375c21b3e0a71c37dc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): thunder/schema/user.rs:11956-11976 | thunder/schema/user.rs:12036-12056 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":11956}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43e588455235046c6bed08aeb46011c2c2598a303903059af6e03777058c2c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): grox/flows/reply_spam/classifier_coordinated_spam.py:104-133 | grox/flows/reply_spam/classifier_multi_step_reply_spam.py:100-137 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2923ebb328987216b889ae4ee7684f3d3ddba82b84ed5db5623d30db25a330ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): home-mixer/clients/vm_ranker_client.rs:120-151 | home-mixer/clients/vm_ranker_client.rs:341-376 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/vm_ranker_client.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"306a78fd72ec846d94f7cb46e921f93cb1219d87e7eaf05b2bca7a44c6404c20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): thunder/schema/media_entity.rs:87-107 | thunder/schema/user.rs:3224-3249 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/media_entity.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ac3d1f60bc44ac1728153b7bccc8aae7e7a5a6d77f219be0b2c688c685531e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): grox/libs/kafka_cli/multi_region_consumer.py:48-68 | grox/libs/kafka_cli/multi_region_producer.py:42-66 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_consumer.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e405c7500ddc88f5b4cb339b9a5e87343d82b1503d54bd719286eb1b724d7cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): thunder/schema/events.rs:249-269 | thunder/schema/events.rs:416-436 | thunder/schema/events.rs:496-516 | thunder/schema/events.rs:576-596 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34726cdae15e6b6968dd224fb94c132dce6b814bb70b856009913fec01f8dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:52-81 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:67-91 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ccecd3354cb1a721c5946bc9579c8ff6544d68efa54d3c3a4cfac4a91f9edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): thunder/schema/tweet.rs:1194-1219 | thunder/schema/user.rs:4652-4672 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"62307e52fa3951a4042dd1851554eab6cfaa4aeb92167f0c28da85e517e12e6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): thunder/schema/user.rs:3309-3329 | thunder/schema/user.rs:10828-10853 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":3309}}}],"partialFingerprints":{"codehealthFindingId/v1":"0776a163a883ac6da1101644fb505bc6b6e516ef6b36f43c06b2c5a34c60c02e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (42 corresponding lines): botmaker/botmaker_aggregator/src/main/scala/com/twitter/botmaker/runtime/LocalAggregator.scala:175-227 | botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/EventPublisher.scala:128-169 \u2014 These two members are one piece of code written twice and then edited apart: 42 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_aggregator/src/main/scala/com/twitter/botmaker/runtime/LocalAggregator.scala"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"324a05af6963e5719764164b774998507496b99825eddcc11c5bcba888a4aeba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): home-mixer/util/popular_authors.rs:170-191 | home-mixer/util/popular_posts.rs:207-239 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/popular_authors.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"143498336db6694c1b34479ced436118f75337b567daf8689d9b3e3a25f3df6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (39 corresponding lines): home-mixer/side_effects/update_served_history_side_effect.rs:139-180 | home-mixer/side_effects/update_served_history_side_effect.rs:248-286 \u2014 These two members are one piece of code written twice and then edited apart: 39 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":"home-mixer/side_effects/update_served_history_side_effect.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"572460283e98c9b7b9542d71650ac9db9a856df3f1859d52d02f4afda247d585"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): thunder/schema/events.rs:1342-1362 | thunder/schema/tweet.rs:799-819 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd84523a7a7d2af8ada3d2aa35f9f6967a020e2afad43fc6713f714c1a546cd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/collection/Any.java:150-173 | botmaker/src/java/com/twitter/botmaker/function/collection/ForEach.java:137-160 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/Any.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"332d9eb953ffe91c7fd885c97b2936fa49093b20954f7a840907ea6385641541"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): thunder/schema/tweet_media.rs:336-367 | thunder/schema/user.rs:7818-7849 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet_media.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fe3742ea4f3cb9f3688818ac46bd6c4bc1d431307c76fa0f1710429eca25a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 32\u002B corresponding lines): phoenix-rankall/src/processor/gen/scored_candidate.rs:223-254 | thunder/schema/tweet.rs:3125-3163 | thunder/schema/tweet_media.rs:771-808 | thunder/schema/user.rs:4284-4316 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 32 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bf97753ab11821a263f1507b26e26a7e11ec8b19d00cad5bf521a13a24b526"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): abuse-enforcement-service/service-lib/src/service.rs:1208-1228 | abuse-enforcement-service/service-lib/src/service.rs:1249-1274 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"557b79d189641a921fa8a1879e3a044cc8356726ca9ccf0360f5466353332928"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): thunder/schema/events.rs:338-356 | thunder/schema/events.rs:2986-3006 | thunder/schema/events.rs:3501-3521 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"1897402b1b53b7a1dd1d939aaf0cc35d59263df008b0071ebd7d58e4d7d29fde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): thunder/schema/tweet_media.rs:642-661 | thunder/schema/tweet_media.rs:727-751 | thunder/schema/tweet_media.rs:809-828 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet_media.rs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"288780cf375c7657fa9aed00583320cb15dc04ff4120d5d25f6ff0feaff7111e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java:111-134 | botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java:163-187 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0345a3eec7e851583230616429dbc365f38c3b8222d4606dfab7e4f5a74d10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): abuse-enforcement-service/service-lib/src/action_control.rs:1624-1642 | abuse-enforcement-service/service-lib/src/action_control.rs:1644-1663 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1624}}}],"partialFingerprints":{"codehealthFindingId/v1":"71abc541ffdbb07cb2d3caf4c64c3ed6f73459a05ff52aa1865786c4d75a908c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): simclusters/simclusters_v2/scalding/offline_data_conversion/InterestedIn20M145K2020FlattenTransform.scala:20-58 | simclusters/simclusters_v2/scalding/offline_data_conversion/KnownFor20M145K2020FlattenTransform.scala:19-51 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/offline_data_conversion/InterestedIn20M145K2020FlattenTransform.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a568442721165d35b06dc61b2d0871594a7ea2c108c6be0e0a1e57d1481ffc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): home-mixer/scorers/phoenix_scorer.rs:32-68 | home-mixer/sources/phoenix_source.rs:33-69 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"home-mixer/scorers/phoenix_scorer.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aed693b5b62dbba7b6e215df5964e4b0e4e0f27c73f697f11e273f9e7a7fab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 30\u002B corresponding lines): home-mixer/following_feed_server.rs:59-88 | home-mixer/for_you_server.rs:84-123 | home-mixer/ranked_following_feed_server.rs:47-81 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 30 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/following_feed_server.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fe254ac0a011dd6878724424eeba31c49de39fe7c18c4f8b02fb4cc1e1e734"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): home-mixer/scorers/value_model.rs:91-123 | home-mixer/scorers/vm_ranker_request.rs:174-206 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/scorers/value_model.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab068d26fc11dc401c5c4005aba1e2cbebda4b77fe39b641ae2656a91f44f180"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): phoenix/xrex/eval/metrics_recsys.py:240-260 | phoenix/xrex/eval/metrics_recsys.py:334-351 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/metrics_recsys.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fd89be2214e9fc858a7c551840b05e429dae7f43b7623b6080c5522c7d64fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): thunder/schema/user.rs:4800-4818 | thunder/schema/user.rs:5751-5769 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":4800}}}],"partialFingerprints":{"codehealthFindingId/v1":"83be653f3457f0a80efcebb773b0c567fc2128fff4b42d78ff65f958c0bd1e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): simclusters/simclusters_v2/scalding/ProducerNormsAndCounts.scala:162-189 | simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala:297-324 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/ProducerNormsAndCounts.scala"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7621b72bd25abcb279f311d88c50e1a208dc007cde9110e4c16eebf22e28a2aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): phoenix/reference/world_snapshots.py:139-162 | phoenix/reference/world_snapshots.py:166-187 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/world_snapshots.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e13085293b817cf183eb0683c9adc239cb6efc50c5c7b2522d6afb4b3e2770"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): simclusters/simclusters_v2/scalding/topic_recommendations/ProducersForTopicsFromTopicFollowGraph.scala:69-104 | simclusters/simclusters_v2/scalding/topic_recommendations/TopicsForProducersFromEM.scala:81-127 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/topic_recommendations/ProducersForTopicsFromTopicFollowGraph.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa932b155ca02a2e73ad9fef8a07400d38bda66734fd4aaea8b2bf55297434a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): home-mixer/sources/phoenix_moe_source.rs:38-73 | home-mixer/sources/phoenix_source.rs:111-147 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/sources/phoenix_moe_source.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"592786b1a6ff66d3ccad0f90f7f553854fb9ae450b162d63d038e896beb9c305"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): grox/flows/mm_emb/task_write_mm_embedding_sink.py:66-91 | grox/flows/mm_emb/task_write_mm_embedding_sink.py:99-124 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_write_mm_embedding_sink.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"683b1155b919d6ebc6a9acf718a89e6f21f1ca10b632f66b5cc4eccb28358dac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): grox/libs/blobstore_http/cdn_downloader.py:29-50 | grox/libs/blobstore_http/cdn_downloader.py:53-71 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/cdn_downloader.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"080ebacb4f52ef722f836d85c748723040d74d0ce80560e365055a5f527f674b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): home-mixer/clients/impressed_posts_client.rs:25-50 | home-mixer/clients/simclusters_ann_cache_client.rs:53-83 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/impressed_posts_client.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e828a54d0cca9a43ebf668b7f2e6b42d7956bd257df2d130d37df577a40cf209"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): simclusters/simclusters_v2/summingbird/stores/TopKClustersForTweetReadableStore.scala:92-118 | simclusters/simclusters_v2/summingbird/stores/TopKTweetsForClusterReadableStore.scala:119-145 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/stores/TopKClustersForTweetReadableStore.scala"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d889222cda04c46f391a50e1269e5690a2297a52dc04116767acdb719e2ed1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): thunder/schema/events.rs:3069-3083 | thunder/schema/events.rs:3146-3160 | thunder/schema/events.rs:3223-3237 | thunder/schema/events.rs:3300-3314 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":3069}}}],"partialFingerprints":{"codehealthFindingId/v1":"e070bc530a7ff95207bfd82c19993ceb2c4b6a49744ffb526b1606e57d199db0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): home-mixer/side_effects/phoenix_request_cache_side_effect.rs:47-68 | home-mixer/side_effects/phoenix_request_cache_side_effect.rs:76-97 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/phoenix_request_cache_side_effect.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f4801a6c8252f6f200760c1f8ac8deafa6cc6438f3789cf4657c112097e7a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Mock.java:63-90 | botmaker/src/java/com/twitter/botmaker/compiler/Mock.java:136-158 \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":"botmaker/src/java/com/twitter/botmaker/compiler/Mock.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"80adc29ac6a652cce7391500478b59c0af6317c700d708eb7d69ac3b8b691c16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 34\u002B corresponding lines): home-mixer/server.rs:305-341 | home-mixer/server.rs:442-475 | home-mixer/server.rs:605-641 | home-mixer/server.rs:708-741 | home-mixer/server.rs:785-822 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 34 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/server.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7eb3f79164bff9f7ae6564827632a68ab8a7a209c12ff2ee4b5e4d9bf6a0ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 20\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:835-855 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:860-880 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:885-904 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f05ae49a438dbcd18ed14359454a19e27062fd32763e27c7ef757ccd6cc987"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): phoenix/crates/serving/xai-recsys-mm-server/src/mm_embedding_fetcher.rs:61-84 | phoenix/crates/serving/xai-recsys-mm-server/src/mm_embedding_fetcher.rs:86-116 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/mm_embedding_fetcher.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace3d0f134d4cbc25e932e32073b63aaa8a074edc39ba38313a9a3cf67041a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): phoenix/xrex/configs/data_feeds.py:269-295 | phoenix/xrex/configs/data_feeds.py:301-330 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/data_feeds.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"9805031440639e1cebf89dd29a79abf10891dff8cc226f3898ed97a983026bd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): abuse-enforcement-service/service-lib/src/strato.rs:66-93 | abuse-enforcement-service/service-lib/src/strato.rs:100-128 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/strato.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcb37d8c166bc0eab7e4779ae542cb983696dccb8b78166ce6df110df7cca9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): phoenix/xrex/cuda/async_emb/async_emb.py:259-284 | phoenix/xrex/cuda/row_emb/row_emb.py:255-287 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/async_emb/async_emb.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14347039a98578699935d55f70fe8c1052d394e656a6f5626eb01d1e65a8b89"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): phoenix/crates/serving/xai-recsys-mm-server/src/o2.rs:67-97 | thunder/o2/mod.rs:44-69 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/o2.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd289c224edededbe766958c85145a60bbf0e884173a00210192425e0a11a0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/exception/Try.java:107-126 | botmaker/src/java/com/twitter/botmaker/function/exception/TryWithStack.java:113-138 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/exception/Try.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"400c14177d14af34eb70f7cb30127ad7aeb6067fad58e127710b2366ae3db6ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): home-mixer/models/brand_safety.rs:107-131 | home-mixer/models/brand_safety.rs:162-188 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/models/brand_safety.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a1abff2d5fa15c8d5e94a4ebe2032d71f07af89ea038ee235e6819f3f80e0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): grox/flows/mm_emb/renderer.py:22-46 | phoenix/reference/mm_encoder.py:102-124 \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":"grox/flows/mm_emb/renderer.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5207ff45b87252a3db3b999c45917d4c371c9fe94db2a77be71b58a0a31effbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): simclusters/simclusters_v2/candidate_source/SimClustersANNCandidateSource.scala:50-87 | simclusters/simclustersann/candidate_source/SimClustersANNCandidateSource.scala:29-61 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/candidate_source/SimClustersANNCandidateSource.scala"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bc7e9efeb9c3f6925826b86b45572681050d59867e11bebba7de617e75549c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): candidate-pipeline/candidate_pipeline.rs:247-265 | candidate-pipeline/candidate_pipeline.rs:271-292 | candidate-pipeline/candidate_pipeline.rs:351-364 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/candidate_pipeline.rs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f39db19da9cc1fa024e883ba6894811364c8ec8f262d5582ad2d5a8fbf8976"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 26\u002B corresponding lines): thunder/schema/events.rs:1192-1217 | thunder/schema/events.rs:1246-1271 | thunder/schema/events.rs:3987-4012 | thunder/schema/tweet.rs:2515-2540 | thunder/schema/user.rs:10637-10662 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7dbd0c8ffd1e41a291c684dd71d3a45d5a3dbc21741d7a9126953b394a4d8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): thunder/schema/tweet.rs:1291-1316 | thunder/schema/tweet.rs:3253-3278 | thunder/schema/user.rs:10150-10175 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5127b98fed95c89ddac56e0c938b87cee68ea59af64d77c100360aca566e2cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): thunder/schema/tweet_media.rs:443-463 | thunder/schema/tweet_media.rs:515-530 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"thunder/schema/tweet_media.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1a6a0b16a3a94fd22eb3d2e982ceb39f0368aba1050582c899f3b3486e00fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): simclusters/simclusters_v2/scalding/embedding/twice/InterestedInTwiceBaseApp.scala:301-339 | simclusters/simclusters_v2/scalding/embedding/twice/InterestedInTwiceBaseApp.scala:352-385 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/embedding/twice/InterestedInTwiceBaseApp.scala"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72c8760d61b68b5d43031dd608016f45a7bd2ecce330eea391757f2ab0355d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): thunder/schema/user.rs:13442-13467 | thunder/schema/user.rs:13563-13588 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":13442}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ac2b4235918a47061a754beafc30788a0c5dd1b64d154fa337da4c7582e682"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetCreate.java:40-64 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetUndelete.java:35-58 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetCreate.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06e5da648f5fd8ae8d3bb6d8346dcaaa181da51e559d294e4943d7ffb15503e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/conversion/ThriftFromDict.java:46-82 | botmaker/src/java/com/twitter/botmaker/function/conversion/ToThrift.java:41-77 \u2014 These two members are one piece of code written twice and then edited apart: 37 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":"botmaker/src/java/com/twitter/botmaker/function/conversion/ThriftFromDict.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e176919dba01d00795e313f4a6b7ba00b5d993f3a180132219a3aa78f44b7c9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:101-117 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:111-128 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c283267f30f24f34aafd2ed9bb8cd5b0de209f1c16ddd6b39e9951b2f108906"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 15\u002B corresponding lines): grox/flows/ptos/classifier.py:125-149 | grox/flows/ptos/classifier.py:219-233 | grox/flows/ptos/classifier.py:749-768 | grox/flows/upa/classifier_banger_initial_screen_gemma.py:67-86 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa97762ffe2b07bddceb69b0ade1c9edabd3b00b194592770028cc71e52b15d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 26\u002B corresponding lines): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:160-186 | thunder/schema/tweet.rs:4036-4061 | thunder/schema/tweet.rs:4684-4710 | thunder/schema/tweet.rs:4885-4911 | thunder/schema/tweet.rs:4938-4964 | thunder/schema/tweet.rs:4991-5017 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 26 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61fe600f5f00acfc68be2dee53e3d35a9c1dc5be16f711bcfbb9bc04df55df5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): thunder/schema/tweet.rs:951-966 | thunder/schema/tweet_events.rs:566-581 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"thunder/schema/tweet.rs"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9220b4bc517aff171ddec61c0163e65f10426fe3640ba775ec46d5d961ed119"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): thunder/schema/tweet.rs:3200-3226 | thunder/schema/tweet_media.rs:548-573 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":3200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd5ca8cfbe638fd4d3401f2fe3bf2efebb8d8117d844a904a496025f2937f80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): simclusters/simclusters_v2/scalding/embedding/tfg/InferredLanguageTfgBasedTopicEmbeddingsBaseApp.scala:57-72 | simclusters/simclusters_v2/scalding/topic_recommendations/TopicsForProducersUtils.scala:57-77 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"simclusters/simclusters_v2/scalding/embedding/tfg/InferredLanguageTfgBasedTopicEmbeddingsBaseApp.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a04d6465065ab4175fde5eb86fe91e41fdbfb82d8a63cafd2ebc2e67bb0c09b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): phoenix-rankall/src/processor/gen/scored_candidate.rs:255-270 | thunder/schema/tweet.rs:3164-3182 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"870dee9c612e824afeb3ed7a71c3514ee09844ebb70996d05c1c9810fe668f5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): simclusters/simclusters_v2/scalding/tweet_similarity/TrainingDataCollectionUtil.scala:59-69 | simclusters/simclusters_v2/scalding/tweet_similarity/TrainingDataCollectionUtil.scala:79-89 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/tweet_similarity/TrainingDataCollectionUtil.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9feb03d54488787e348369d6cd45da719218b7e2d0af246151e01529f629c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): thunder/schema/events.rs:1481-1496 | thunder/schema/tweet.rs:657-672 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"thunder/schema/events.rs"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14e274f8f0895b93513a873a12a3b5c8525203dfec15d4d72f11a0d49eff460"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java:253-283 | botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftType.java:271-307 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab9842a044feedf36e76d7ad836d105fa404a8abdcc22f293de1b79fe092043"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): grox/flows/mm_emb/renderer.py:129-152 | phoenix/reference/mm_encoder.py:194-212 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de234d76f45f006a73a22fcf86020afc1e9c89f8ad2ebe15d49d714dbe0a667"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): home-mixer/candidate_hydrators/filtered_topics_hydrator.rs:146-169 | home-mixer/candidate_hydrators/semantic_id_hydrator.rs:107-133 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/filtered_topics_hydrator.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2041156d18a7638cb12a47a9e03652320d52e0f29082805e11bec1946ec3043"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): simclusters/simclusters_v2/scalding/offline_job/SimClustersOfflineJob.scala:120-138 | simclusters/simclusters_v2/scalding/offline_job/SimClustersOfflineJob.scala:147-165 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/offline_job/SimClustersOfflineJob.scala"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a36d0bbc63e089b90ab1d16900aaeb66ebffe3e3bec3b9fb60c032d10c150e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): grox/core/data_loaders/data_types.py:945-960 | grox/core/data_loaders/post_mapper.py:64-83 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"grox/core/data_loaders/data_types.py"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec425ddd334dc29c6de9c14da1ad474976a0c35f9c6bb44bfb73ced03a684d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): home-mixer/ads/following_ad_blender.rs:40-62 | home-mixer/ads/util.rs:54-75 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/following_ad_blender.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7df9e7f6a1b87153621e2dddf41ad74f336431678c90783ef3cce6b0b51c3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): thunder/schema/tweet_media.rs:368-383 | thunder/schema/user.rs:7850-7865 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"thunder/schema/tweet_media.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8dddedd551bdc284e15ac3bf22457b8f4397291bcca4b49f79ec594295c97d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/exception/Try.java:75-86 | botmaker/src/java/com/twitter/botmaker/function/exception/TryWithStack.java:79-92 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/exception/Try.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"27eaf1042a072c780ccb109a0ee7baabe7dd078c039c926161e161885be813b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): thunder/schema/user.rs:11357-11371 | thunder/schema/user.rs:11501-11515 | thunder/schema/user.rs:11645-11659 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":11357}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6aa981516f890a3887951f76fbd6c184500d01b55e5ea1e5d816a575dda581"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): under-the-hood/scalding/UthDailyPostsBackfillJob.scala:224-238 | under-the-hood/scalding/UthDailyPostsJob.scala:250-265 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthDailyPostsBackfillJob.scala"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f983eb8a6cf1171fa9dd6e0b3e962867df3f6294023b03baeb660804104ffaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): abuse-enforcement-service/service-lib/src/lib.rs:1500-1520 | abuse-enforcement-service/service-lib/src/lib.rs:1527-1545 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07f66efe540bb7b3fc47ff63dd0b0dfc394df5097cb9d608c95cd5013a766fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfNsfwFlag.java:22-39 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetReport.java:53-71 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfNsfwFlag.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27e2d29539a45a8be5ab2aa8869f658633bcf24275a61cc4414eae9707214aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): phoenix/xrex/inference/model_runner.py:4062-4075 | phoenix/xrex/inference/model_runner.py:4987-5001 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4062}}}],"partialFingerprints":{"codehealthFindingId/v1":"6596b026824417e2087137c2d794ce4c626ff9727774a1f93cd0d9ae198c0fd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): scarecrow/legacy/HllCounterStoreRegistry.scala:57-71 | scarecrow/legacy/HllCounterStoreRegistry.scala:114-127 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scarecrow/legacy/HllCounterStoreRegistry.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"92accd95a71f56412e1ab758867bc238f82102ef94b2c5f387bb8a74047b47a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:374-388 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:390-404 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac58d692db949ceda16b009c2dab463bd5947cb601299687b2815cbed6cdac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/logic/Equals.java:33-47 | botmaker/src/java/com/twitter/botmaker/function/logic/NotEquals.java:47-62 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/logic/Equals.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d2b303e9d847a67fa17ce7ff347cec6d08254654074ac06cce0bdeb21bb597"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): botmaker/src/scala/com/twitter/botmaker/runtime/config/LocalCounterConfigs.scala:57-71 | botmaker/src/scala/com/twitter/botmaker/runtime/config/LocalStoreConfigs.scala:57-71 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/config/LocalCounterConfigs.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97e787bd7c4e955322c46ecea3530e30e40b0e69f0260090b87000aefd9d46b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): phoenix/xrex/models/recsys_model.py:3399-3415 | phoenix/xrex/models/recsys_model.py:3437-3452 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":3399}}}],"partialFingerprints":{"codehealthFindingId/v1":"4addbbcf9d40a81dd62baca127e32737aac5935e0dc14fb28a882886200ea77c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): thunder/schema/tweet.rs:3883-3900 | thunder/schema/user.rs:4871-4884 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":3883}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c9daea5d2284fa2f360848601680d8b2c9188b017efe3516a051a2ce63d8d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): simclusters/simclusters_v2/summingbird/common/Monoids.scala:119-136 | simclusters/simclusters_v2/summingbird/common/Monoids.scala:152-169 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/common/Monoids.scala"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1269dd79bfece74287f7cc9be273d6ab50868acba8066a173947cb2fa4f164e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): safety-label-source/connect.rs:229-247 | safety-label-source/connect.rs:266-284 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"safety-label-source/connect.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d72f8db97938a1f396995be2aec2bb328afbb33300b3e52047aaaa31fbaf0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala:12-28 | botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala:30-48 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cd528055f3014ac875eb6ddc25e4fb27c978d3cf7ca6abadceec6c67115805"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweet.java:137-154 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweet.java:157-171 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweet.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b841d3debbea394aec1e5ddcf06df46bd75697abb551a4544ff9f9affb5cca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/function/collection/IndexAccessor.java:53-77 | botmaker/src/java/com/twitter/botmaker/function/collection/IndexAccessor.java:80-101 | botmaker/src/java/com/twitter/botmaker/function/collection/IndexAccessor.java:132-158 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 22 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/IndexAccessor.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"733a3167c61b51270dcb42634128d8967fbfe30d99ebbe98d78ed542cf15d07a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): under-the-hood/scalding/UthDailyPostsBackfillJob.scala:205-217 | under-the-hood/scalding/UthDailyPostsJob.scala:308-319 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthDailyPostsBackfillJob.scala"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"65df17bffc1c3472dd0f58ee0cc901cc1b25885abcc531363d08cde20c52927c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): phoenix/xrex/inference/h2d.py:56-76 | phoenix/xrex/train/embedding_loader.py:26-40 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea524666be25a3675a2a969a6e375368b59d2df7c0dbab279686a6e92de62ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): under-the-hood/scalding/UthDailyPostTakedownLabelsJob.scala:253-272 | under-the-hood/scalding/UthDailyPostsJob.scala:434-452 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthDailyPostTakedownLabelsJob.scala"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb661e55ffc97229ce1e5a7c1357bdd091bedf4ad25bec39e0dcc0796dba1c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): abuse-enforcement-service/service-lib/src/service.rs:2233-2258 | abuse-enforcement-service/service-lib/src/service.rs:2619-2644 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":2233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9492f984fe740de9908d8d64a7de12069ac146ba9ea4b2c626c8ca978f8f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): home-mixer/models/candidate_features.rs:23-45 | visibility-filtering-client/models.rs:99-119 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/models/candidate_features.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbe3137383598d94638fbf1daeb40897ab44c153582cafbfb8ea67dca5ca199"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:131-142 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:640-651 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8af79716977d7abbf4c9c7dbe6f5b0d5bd00bfd6c87813b49def340d6b14aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): thunder/schema/tweet.rs:3462-3474 | thunder/schema/tweet.rs:5142-5154 | thunder/schema/tweet.rs:5205-5217 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":3462}}}],"partialFingerprints":{"codehealthFindingId/v1":"446626e87dba058e47cc2a0c723743d710db0244d41edcf00e1c9e8e7fc9efa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): simclusters/simclusters_v2/scalding/embedding/EntityToSimClustersEmbeddingsJob.scala:40-65 | simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingsJob.scala:42-69 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/embedding/EntityToSimClustersEmbeddingsJob.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd36ab9e55dc98d088d7825255b69dff25128fe262beb8e4b4506ef7b60b231"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): bdsm/rust/abuse-v3-features/src/lib.rs:89-102 | bdsm/rust/abuse-v3-features/src/lib.rs:104-117 | bdsm/rust/abuse-v3-features/src/lib.rs:119-138 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/abuse-v3-features/src/lib.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"855628857304a9eef07db8f355983508c7c0c53d0aa557da4379c3889c6e2659"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/function/collection/Any.java:87-103 | botmaker/src/java/com/twitter/botmaker/function/collection/Filter.java:79-98 | botmaker/src/java/com/twitter/botmaker/function/collection/ForEach.java:78-92 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/Any.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94c7dec0f65e66818c6c9253578e750d9dffeedcddabbd4281d4088bff3ee20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): phoenix/xrex/inference/h2d.py:114-129 | phoenix/xrex/inference/h2d.py:169-182 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"263f5c10c5345d4ea54f9215d2dbbde3907f064cd47527cb2a84ff11aecb8b81"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): botmaker/src/java/com/twitter/botmaker/ASTNode.java:135-154 | botmaker/src/java/com/twitter/botmaker/function/With.java:128-146 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/ASTNode.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b9b07a9389c2d5790798b7f1476805e3af812cac2d648d9089677614d320f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): abuse-enforcement-service/service-lib/src/dedup_cache.rs:446-462 | abuse-enforcement-service/service-lib/src/dedup_cache.rs:470-490 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/dedup_cache.rs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea012413d89c77c5940a1d665b13e984064d23c87305d7efedce569c1e04b86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): home-mixer/server.rs:275-299 | home-mixer/server.rs:350-379 | home-mixer/server.rs:750-779 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 25 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/server.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f319407e8ad5132ae9f40d98f12bf003b54f91cb67d0b0e0144111fe7fe5203"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfCommunityPinEntryData.java:27-37 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfCommunityUnpinEntryData.java:28-38 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfCommunityPinEntryData.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc8e5b48003fd0921f56efc0b00aa6bd61488d13a1ac59e8a03dc00a46c6a28c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): phoenix/reference/sid_codebook.py:729-738 | phoenix/reference/sid_codebook.py:788-797 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/sid_codebook.py"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5acf2dcae08fcd5f46ddfe9879ec18dde2f5067d28280c9228bb9a3c0027ba6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/BotMakerDoc.java:75-119 | botmaker/src/java/com/twitter/botmaker/compiler/BotMakerDoc.java:240-284 \u2014 These two members are one piece of code written twice and then edited apart: 45 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":"botmaker/src/java/com/twitter/botmaker/compiler/BotMakerDoc.java"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d157a8fd4a311e43bbbfd4dd950b5cdc15a26a4009bd71e26a08c249c17b2ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): home-mixer/models/content_features.rs:8-20 | home-mixer/models/content_features.rs:22-36 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/models/content_features.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7d8b54a160de5a70a05f1c18485058efaa8648fa558cc7b68ba76f95454149"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): thunder/schema/tweet.rs:724-739 | thunder/schema/tweet.rs:1018-1033 | thunder/schema/user.rs:5889-5900 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4493c861bdc64a0f7eb09d8fe07d69bb1b00f2004e8cf465209963ff41d3e6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): under-the-hood/scalding/UthDailyPostsJob.scala:290-301 | under-the-hood/scalding/legacy_experimental_adhoc/UnderTheHoodPostLabelsJob.scala:136-146 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthDailyPostsJob.scala"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"499abea8552f163a101e322956f5758d7f97cce323f7676a45a1bb5318f77a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): candidate-pipeline/candidate_pipeline.rs:401-413 | candidate-pipeline/candidate_pipeline.rs:419-430 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/candidate_pipeline.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"129567fc4112e485a715bef88eca29225f423e071e7e5249fb247535a7be152f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): home-mixer/util/popular_authors.rs:45-55 | home-mixer/util/popular_posts.rs:94-105 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/popular_authors.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f018d8d694811487caeccb92e9ec3c3daed876f1b44222c4baa41494ab32dc05"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/tuples/StructTuple.java:53-68 | botmaker/src/java/com/twitter/botmaker/compiler/types/StructTupleType.java:56-71 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"botmaker/src/java/com/twitter/botmaker/compiler/tuples/StructTuple.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cc93e9e5c5370abbe0c5c12d2a61708ae62e95a079cc0ff15da8c2749cd5b7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): phoenix/xrex/cuda/async_emb/async_emb.py:163-174 | phoenix/xrex/cuda/row_emb/row_emb.py:169-180 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/async_emb/async_emb.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6550ed80a71b54c47654e1af5263be6c386604acb368184a9e6bc78360943db9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): simclusters/simclusters_v2/scalding/embedding/common/ExternalDataSources.scala:295-313 | simclusters/simclusters_v2/scalding/embedding/common/ExternalDataSources.scala:319-336 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/embedding/common/ExternalDataSources.scala"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2eb21354f50d36617900a71ae759c7875d039bbe87a3874d3093143e481cfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): home-mixer/ads/health_metrics.rs:41-59 | home-mixer/ads/partition_organic_blender.rs:244-266 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/health_metrics.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29081e9461263bb516b69bfbb174821596f11c6bcdce6915df450857f54e633"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java:121-132 | botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java:172-185 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0baad2014639e3df814c4442d036d8f38c5f282d605328b40c17bc7bbf93ecd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): grox/flows/mm_emb/task_write_mm_embedding_sink.py:42-58 | grox/flows/mm_emb/task_write_mm_embedding_sink.py:132-148 | grox/flows/mm_emb/task_write_mm_embedding_sink.py:208-230 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_write_mm_embedding_sink.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"825433bb62363281514f31d5afcc71d8573f1d9388d6f349340078522ad9dc4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): home-mixer/candidate_hydrators/language_code_hydrator.rs:83-93 | home-mixer/candidate_hydrators/subscription_hydrator.rs:83-96 | home-mixer/candidate_hydrators/video_media_hydrator.rs:109-127 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/language_code_hydrator.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8019e8ba8774fb06b36975d5f1c3610aca8e517ba05c8834724ad4689461f165"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): home-mixer/util/post_annotations.rs:144-161 | home-mixer/util/post_annotations.rs:174-192 | home-mixer/util/post_annotations.rs:206-227 | home-mixer/util/post_annotations.rs:241-262 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/post_annotations.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3c7b016454bd30330703c244d51503443770e116205a1df075c1489ecc6c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingV2Job.scala:84-111 | simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingV2Job.scala:150-174 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingV2Job.scala"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca0afc456aef55279c49d1b07f53e0f3af63c5ab6c7254f7588ab96483fdc75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): abuse-enforcement-service/service-lib/src/action_control.rs:1008-1026 | abuse-enforcement-service/service-lib/src/off_switch.rs:303-316 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadfe98a97a29b85aadebf6c71a26a2da4485874d8412a1482e133a1da8a2b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): phoenix/reference/sid_io.py:107-125 | phoenix/reference/sid_io.py:163-183 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/sid_io.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"466e36a8d8f8c6ed9c63aa657bd8dc791d16ca8a179eff8a0db679dcd5bad14b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): simclusters/simclusters_v2/summingbird/stores/ManhattanFromStratoStore.scala:36-59 | simclusters/simclusters_v2/summingbird/stores/ManhattanFromStratoStore.scala:67-86 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/stores/ManhattanFromStratoStore.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"57034b8b6d9c7d7f3bf793c8f67b331b43d692ae7918f0a8a1f54a9a0c55b92f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): phoenix/crates/serving/xai-recsys-engine/src/python.rs:513-529 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:542-561 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:570-591 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70c55454e83bb675a7201e12bdae22f1b331df4b6cf82b74c72a7b6afa7fc3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): visibility-filtering/clients/user_devices_client.rs:95-109 | visibility-filtering/clients/user_location_client.rs:108-123 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/clients/user_devices_client.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59eb54cbd706353be30556feb99e1de83c3f838d2acb9f6188c539a117842f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): agatha/hub/pmi/PMI.scala:160-195 | agatha/hub/pmi/PMI.scala:209-246 \u2014 These two members are one piece of code written twice and then edited apart: 36 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agatha/hub/pmi/PMI.scala"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8072ce6d57e113c29e7a3fd8c4396e36ce739013fc2418b2f89d24ffc08269e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/function/collection/MapOperator.java:60-71 | botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java:45-59 | botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java:44-58 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/MapOperator.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b250e078a2ddd42cf78d5c690dad310e7ed362312efe011a825be980f2e920a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala:503-530 | botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala:541-562 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab036cfe647246acfc07db5018c02bbd83adbea87cbf6d012176ed86efd8baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): abuse-enforcement-service/service-lib/src/action_control.rs:2010-2019 | abuse-enforcement-service/service-lib/src/head_guard.rs:730-739 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6379c297c8932be95ec9e79ed707f37613c70073b5f0f0c14e07f538256aac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java:412-427 | botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java:459-474 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd78949cc837c739acd7a6d6e4174f5ce3e440127aa973421c02f39897987f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): grox/core/clients/nightowl_client.py:54-75 | grox/core/clients/user_search_client.py:21-36 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"grox/core/clients/nightowl_client.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b95ec72bb687ef009a04391f43596527403579c2dbb6087c115b27128edb57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): simclusters/simclusters_v2/scalding/embedding/common/ExternalDataSources.scala:225-240 | simclusters/simclusters_v2/scalding/embedding/common/ExternalDataSources.scala:244-259 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"simclusters/simclusters_v2/scalding/embedding/common/ExternalDataSources.scala"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cbe73816301c1bd6bd58fc190da948f19bf37d62863c944930acde0a7ddd6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): abuse-enforcement-service/service-lib/src/action_control.rs:2455-2464 | abuse-enforcement-service/service-lib/src/action_control.rs:2466-2475 | abuse-enforcement-service/service-lib/src/head_guard.rs:812-821 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":2455}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b51cd0a3e3b10099b0c30f36b1640fabb7c3ca2e3b66c3903495a96a6f2ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): agatha/scalding/data/loaders/LegitTattleGraphDataLoader.scala:18-38 | agatha/scalding/data/loaders/NonLegitTattlesNoBlocksGraphDataLoader.scala:20-40 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agatha/scalding/data/loaders/LegitTattleGraphDataLoader.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2619e3be6bfc24534adc4b24ff396b46da11557982544af338572fff4060129c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java:206-217 | botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java:219-230 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"98866bd19c6ceecd1c211f30ce079c54c9d2d400b72ed5f9f134eeadf178173a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/collection/ListAppend.java:63-71 | botmaker/src/java/com/twitter/botmaker/function/collection/ListPrepend.java:63-71 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/ListAppend.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2e0c177b304ec260e09943b71fca912f4d85a7413e3e9e625ced0dc029797e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): clip/utils/data_utils.py:63-81 | clip/utils/data_utils.py:91-105 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clip/utils/data_utils.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f95acac3855e96b2d4d0573e0c366692f5e9c1732ac5f9d33e864bdda641a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): simclusters/simclusters_v2/common/SimClustersEmbedding.scala:251-268 | simclusters/simclusters_v2/common/SimClustersEmbedding.scala:270-288 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/common/SimClustersEmbedding.scala"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb2247f3003c7509828b4f972f5af08b3ca338609dc8b3f94b5cd5ccc856a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): simclusters/simclusters_v2/scalding/embedding/common/ExternalDataSources.scala:376-394 | simclusters/simclusters_v2/scalding/tweet_similarity/TweetPairLabelCollectionUtil.scala:81-100 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/embedding/common/ExternalDataSources.scala"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbe4ad2592ca5acafd131c03b013190508225eb8c1cd12a59c759bed1310609"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): grox/flows/reply_spam/classifier_coordinated_spam.py:32-41 | grox/flows/reply_spam/classifier_multi_step_reply_spam.py:33-42 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccf44428b4b25b5354d032ea4dfca6fb8bb320c349e29ce28df1528a4161a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): simclusters/simclusters_v2/scalding/UserUserGraph.scala:104-126 | simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala:216-242 \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":"simclusters/simclusters_v2/scalding/UserUserGraph.scala"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcce15fa7c7891a7701f94209684d9f5b9e5ee16b3b5ab243e47c54d8235b7db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): simclusters/simclusters_v2/scalding/embedding/abuse/AdhocAbuseSimClusterFeaturesScaldingJob.scala:77-94 | simclusters/simclusters_v2/scalding/embedding/abuse/AdhocAbuseSimClusterFeaturesScaldingJob.scala:100-115 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"simclusters/simclusters_v2/scalding/embedding/abuse/AdhocAbuseSimClusterFeaturesScaldingJob.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"45580eaa268ef54d9c3d5fac70dc6aad7887db0c65ffa4e50c77fbcb3c86d46f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): home-mixer/clients/ad_index_client.rs:245-265 | home-mixer/clients/sid_retrieval_client.rs:183-200 | home-mixer/clients/vm_ranker_client.rs:308-332 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/ad_index_client.rs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"485cfc53a9cc4c5d8f42ff4203dd869830e486f8264351532aa4cd886a80554c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): agatha/scalding/data/FeatureExtractionTemplate.scala:24-36 | agatha/scalding/labels/LabelExtractionTemplate.scala:41-52 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agatha/scalding/data/FeatureExtractionTemplate.scala"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce1803a66c2f68f3e863088cbf69a7c355362a4b81e621f76a33b9e050dcd17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): simclusters/simclusters_v2/scalding/embedding/ProducerEmbeddingsFromInterestedIn.scala:89-119 | simclusters/simclusters_v2/scalding/embedding/ProducerEmbeddingsFromInterestedIn.scala:152-182 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/embedding/ProducerEmbeddingsFromInterestedIn.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aff3c199b0c52c4b51b0b24272e483ab379812f314275a6e3c640952a07a1b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): home-mixer/util/urt/mod.rs:194-202 | home-mixer/util/urt/reverse_chron_following/mod.rs:125-133 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/mod.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"031654f323b2679e34d59a07a3b420346dd28fc2f22d3c5c3d6d3e3b81b4aa6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): visibility-filtering/clients/about_this_account_client.rs:25-43 | visibility-filtering/hydration/community_source.rs:196-212 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/clients/about_this_account_client.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5d2bc6922884f64188973c23b9169dff93fbb39a7fcc70fa2882aca3807340"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:409-419 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:424-433 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:438-451 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:456-469 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61f352657b4804f5971bea1f71155ff3a174ceaf8624518cab6cf2cd3eb2eb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): grox/libs/kafka_cli/multi_region_consumer.py:126-140 | grox/libs/kafka_cli/multi_region_producer.py:106-120 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_consumer.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93c8343969e01187646812dd801e3ab777cb8f488a45f2269de3a9f907f8045"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): scarecrow/legacy/StratoRegistry.scala:155-167 | scarecrow/legacy/StratoRegistry.scala:188-200 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scarecrow/legacy/StratoRegistry.scala"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ab9b4f4f8d7c67680a27606ec4e72df59ca6158a9133ae295f10de0d65a184"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): grox/libs/kafka_cli/producer.py:115-128 | grox/libs/kafka_cli/producer.py:191-204 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"db600d6cfa10e4b68aacbc63d7adf84ea51f20114f82e5c4075e696036670b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): phoenix/xrex/utils/metadata.py:147-162 | phoenix/xrex/utils/metadata.py:165-186 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"phoenix/xrex/utils/metadata.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f78887e52fe836a285b83ca949e5d1835bd591eae77c6780ab6926a213ecfd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): candidate-pipeline/filter.rs:70-84 | candidate-pipeline/selector.rs:114-132 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/filter.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d605e9f81c05592958296234bac0b910f9f9492f6115ee55931183a234ce542a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): home-mixer/util/urt/cursors.rs:73-91 | home-mixer/util/urt/reverse_chron_following/cursors.rs:127-145 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/cursors.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72b0641a73dd581d902f1517c60f00f53212aded09aa5dedab3b57ab3c30e46"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): clip/modules.py:46-57 | clip/modules.py:66-77 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clip/modules.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3af865597899f66400bca8e93be79f7eaf184fcf173008d9ed9e8ad382895bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): simclusters/simclusters_v2/scalding/offline_data_conversion/InterestedIn20M145K2020FlattenJob.scala:31-50 | simclusters/simclusters_v2/scalding/offline_data_conversion/KnownFor20M145K2020FlattenJob.scala:30-49 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/offline_data_conversion/InterestedIn20M145K2020FlattenJob.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cebdb09aaada44a6696afbe9a9867d3800df3834a4db92c75f7290c2a848d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): simclusters/simclusters_v2/scalding/topic_recommendations/SimilarTopicsFromTopicFollowGraphApp.scala:40-66 | simclusters/simclusters_v2/scalding/topic_recommendations/SimilarTopicsFromTopicFollowGraphApp.scala:79-103 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/topic_recommendations/SimilarTopicsFromTopicFollowGraphApp.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a473630b3e2a1a92a4fae50770bb3cf6bbfaf77ea8f5e4091c9f581cca3a78fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:1250-1266 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:1271-1287 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee6216b99ff83ea622b5c146b78781197470d69e7781ddf105ee1b5daa73824"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): phoenix/xrex/eval/metrics_recsys.py:230-237 | phoenix/xrex/eval/metrics_recsys.py:325-331 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"phoenix/xrex/eval/metrics_recsys.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"315965e025df352c571eacc5ead4235fb82dd9996f424e482f1d12f06c9ca7e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): candidate-pipeline/query_hydrator.rs:21-35 | candidate-pipeline/source.rs:22-35 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/query_hydrator.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f428584f0c346fae3b0796cda1326cc2bcace010b2c14ae1be488079bc904aa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): phoenix/crates/serving/xai-recsys-proto/src/purchase_value.rs:104-113 | phoenix/crates/serving/xai-recsys-proto/src/purchase_value.rs:129-138 | phoenix/crates/serving/xai-recsys-proto/src/purchase_value.rs:140-151 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-proto/src/purchase_value.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9c60164f4a49eb6c78b8908c704fef18626748a4c9ab325c4d9941ba17ee66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): bdsm/runtime/gizmoduck_age.py:30-48 | bdsm/runtime/login_starter_pack_counter.py:42-57 | bdsm/runtime/starter_pack_follows.py:41-56 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/gizmoduck_age.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb519f68669ba38aed2a7b72126b65b3a324e72cde80c49b641baf9df8632ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfArkoseVerifyEvent.java:21-30 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfCastleEvent.java:21-32 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfArkoseVerifyEvent.java"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6242ff57c28936551132cca02df8f202bf8b981688b0855649414b8bd70c0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): phoenix/xrex/models/page_critic.py:40-55 | phoenix/xrex/models/recsys_two_tower_model.py:2131-2147 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"phoenix/xrex/models/page_critic.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fbb15c966d4e3e17342cae10aac7e39b314907d6a3220bd1644f71a5904cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): simclusters/simclusters_v2/scalding/optout/InterestedInOptOut.scala:39-58 | simclusters/simclusters_v2/scalding/optout/KnownForOptOut.scala:39-58 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/optout/InterestedInOptOut.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f4d15d81af913e5074da1cc6ea6c641b64f65dd548455b733c0cff7af7a480"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): candidate-pipeline/hydrator.rs:222-240 | home-mixer/candidate_hydrators/broadcast_liveness_hydrator.rs:42-60 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/hydrator.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab947f18762edd0e04e54e8db5c8608e4dbad216fa30c43a4b6c899297b67d48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): botmaker/src/scala/com/twitter/botmaker/rule/RuleAst.scala:173-186 | botmaker/src/scala/com/twitter/botmaker/rule/RuleAst.scala:188-201 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/rule/RuleAst.scala"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"953a02c8c1c8e232311261d2569070c5aa7bf8a674e895bf904922fc1ac97fef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): abuse-enforcement-service/service-lib/src/service.rs:1047-1067 | abuse-enforcement-service/service-lib/src/service.rs:1094-1110 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf832a88ae4b280678fdfad7b8410af9dc99108d43e7398461712e7c32e5ad0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): phoenix/crates/common/xai-recsys/src/model_config.rs:325-368 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:1537-1584 \u2014 These two members are one piece of code written twice and then edited apart: 44 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":"phoenix/crates/common/xai-recsys/src/model_config.rs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75066bd2096b3e4a1bbc12cf949caf8da3fe76b05123fb272a44b714d16e05a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftType.java:217-230 | botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftType.java:232-245 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftType.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"6865cba69ecd8b9ed8138de153eed71fb7a8c9f3f1a7ed0dc81c00f2a2113726"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/function/logic/BatchedOr.java:80-95 | botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java:68-85 | botmaker/src/java/com/twitter/botmaker/function/logic/Disjunction.java:69-86 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/logic/BatchedOr.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c2af8e595e39a21626a6a430e5bde2d461ad84d36652a8555f1b4335525423"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): home-mixer/util/urt/client_event.rs:54-75 | home-mixer/util/urt/push_to_home_marshaller.rs:90-104 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/client_event.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58603f69e21f6a5f9b0f5b7bcedadf0a437afc8e29313b9db102788f6519d99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1151-1165 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2941-2955 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e1286c936066e28f5eadf31adf39cd3aa526ac99032c361656475969a09c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): botmaker/botmaker_http/src/main/scala/com/twitter/botmaker/runtime/HttpEndpoint.scala:107-118 | botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanEndpoint.scala:58-69 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedEndpoint.scala:60-71 | botmaker/botmaker_thrift/src/main/scala/com/twitter/botmaker/runtime/ThriftEndpoint.scala:139-150 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_http/src/main/scala/com/twitter/botmaker/runtime/HttpEndpoint.scala"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad187e5188a6a0d6076521168bc4dcea709f544c18bec73350d48f2eca32c57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O3.java:42-49 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode6O5.java:42-49 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O3.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bdf6e66744ae887ed38fc8da43ee121e3caaf3d16bc349c18ade500d5baad9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:48-57 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java:48-58 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode3.java:42-48 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"92868c1dd4387e07ebacc2c1762a0e36b9840edc179f4ecf549753a7d5966c22"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): botmaker/src/scala/com/twitter/botmaker/util/ThriftUtil.scala:77-95 | botmaker/src/scala/com/twitter/botmaker/util/ThriftUtil.scala:168-187 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/util/ThriftUtil.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6f94285fcdcdccb89b8e32c7aca1548fb67efd6de551c33968a542e41f7add"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): simclusters/simclusters_v2/scalding/topic_recommendations/ProducersForTopicsFromTopicFollowGraph.scala:120-131 | simclusters/simclusters_v2/scalding/topic_recommendations/TopicsForProducersFromEM.scala:145-157 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/topic_recommendations/ProducersForTopicsFromTopicFollowGraph.scala"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5842c82a89cd333401208c6e628c06ae820c3e3bf4cddc50d23eb768a23285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): home-mixer/candidate_hydrators/ai_trend_feedback_context_hydrator.rs:191-199 | home-mixer/candidate_hydrators/topic_feedback_context_hydrator.rs:173-183 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/ai_trend_feedback_context_hydrator.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cf8341610be59b02c71071e611de2a52b032601f4390bee3413018dfbef11a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): home-mixer/clients/past_request_timestamps_client.rs:47-60 | home-mixer/clients/popular_authors_store_client.rs:41-54 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/past_request_timestamps_client.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e15520eba0b9c7b1ecd4e53e9b1547bd8e0d37c24ad4bb0861e049b0cc0178"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): agatha/hub/pmi/examples/TopFollowPmi.scala:52-67 | agatha/scalding/util/GetActiveUsers.scala:11-26 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"agatha/hub/pmi/examples/TopFollowPmi.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c542b1bbcdaa532bd5060953c9fa52ebb90aea69176617737594b2503a84558"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): botmaker/src/java/com/twitter/botmaker/ASTNode.java:30-44 | botmaker/src/java/com/twitter/botmaker/ASTNode.java:51-61 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/ASTNode.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d65d802d3bfa22d92741d1a8a80b50f8bc2fd2e96f1d192bfad4d16d8f0cb7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingV2Job.scala:53-76 | simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingV2Job.scala:124-142 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingV2Job.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b42d6daee3b4f963dc633aa709ff62c5b32a830704a3252286b2520b9f03ce9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): simclusters/simclusters_v2/scalding/tweet_similarity/TrainingDataCollectionJob.scala:145-165 | simclusters/simclusters_v2/scalding/tweet_similarity/TrainingDataCollectionJob.scala:183-204 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/tweet_similarity/TrainingDataCollectionJob.scala"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"201a1c1a5f50546da30ba0b53338d4f10450eec9496aab7568e5ddb1707a192a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): home-mixer/side_effects/serendipity_stats_side_effect.rs:112-118 | home-mixer/side_effects/serendipity_stats_side_effect.rs:120-130 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"home-mixer/side_effects/serendipity_stats_side_effect.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c84c6044e177b28b65b749fadcbf0656a7a9712ebb2de6914574d5ce787eb26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): phoenix/crates/serving/xai-recsys-engine/src/mem_util.rs:182-197 | phoenix/crates/serving/xai-recsys-engine/src/mem_util.rs:199-210 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/mem_util.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"721a8c244078fc44a3be5574bf1ac203e0a78b3eae7afa0ec7825fad912abd03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:331-348 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:461-484 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b31c0c1bd9614c08111f036131a6df9b8392ece67bfadea927e61891356bad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfHealthSideEffectEvent.java:58-65 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfHealthSideEffectEvent.java:178-185 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfHealthSideEffectEvent.java:188-194 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfHealthSideEffectEvent.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"671563713d02feb212d9a01abadc6b2dece05577658efdc831fc4715192e7ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:444-456 | botmaker/src/java/com/twitter/botmaker/compiler/types/TypeCompiler.java:56-63 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"33311cf6cf1c7e359faa8cb3dd514b09419a0bd643a328e6395e7eedac7a15a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:885-899 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:965-980 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1046-1061 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb424d2f5c05d47f658c5c1f782128783659e34f12d826a6301391bc5f4ba8f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): abuse-enforcement-service/service-lib/src/action_control.rs:1351-1366 | abuse-enforcement-service/service-lib/src/off_switch.rs:583-594 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"263dff0063eea1bc9281c59b95f3058a6eabc8bc41ab3d225e9691e682214359"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): phoenix/crates/serving/xai-recsys-proto/src/grok_topics.rs:171-178 | phoenix/crates/serving/xai-recsys-proto/src/starter_packs.rs:49-56 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-proto/src/grok_topics.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"824a9d39a942a63444496728a678e18e09ab0d33bfe07fab5946ea7ef7ce5daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/Block.java:43-49 | botmaker/src/java/com/twitter/botmaker/function/With.java:40-46 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"botmaker/src/java/com/twitter/botmaker/function/Block.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fab134350661e2a86bcf98e2fec68ff7d893fc07e14e847804b9c99f0d5fe09"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): phoenix/reference/sid_codebook.py:304-308 | phoenix/reference/sid_io.py:18-21 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/sid_codebook.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3306db2f73ee7601812e959a97f135b77b05db40c2eea62968b6cc766ae66b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): abuse-enforcement-service/service-lib/src/action_control/levels.rs:1230-1239 | abuse-enforcement-service/service-lib/src/action_control/levels.rs:1241-1250 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control/levels.rs"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de67be27bad86175bd3f352d5d76aefd8562ef30575e3afb82f475b581a4743"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): home-mixer/query_hydrators/implicit_engagement_signals_query_hydrator.rs:103-115 | home-mixer/query_hydrators/implicit_engagement_signals_query_hydrator.rs:122-137 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/query_hydrators/implicit_engagement_signals_query_hydrator.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbdbbb1bc717ae972a55adf7ad95526ed7ec87ab4a9b8180c46c0f49cf53a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1077-1092 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1356-1370 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"d098ee8416c1ef19de6d3bd5b72b3a84e5bf9c507898011f61cc8dcc39602315"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): phoenix/xrex/data/conversion_labels.py:42-49 | phoenix/xrex/data/recsys/sidecar.py:24-30 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"phoenix/xrex/data/conversion_labels.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcbcb9d48b14a95be132657079b99e242fab34f1acfa4cebfcbc1c73b5f250c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): thunder/schema/tweet.rs:4912-4920 | thunder/schema/tweet.rs:4965-4973 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":4912}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc41c46b10600b795368cbf2a85b4ec0662736969ed1fbc00a4a3f54e49c42d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): visibility-filtering/hydration/tweet_source.rs:227-239 | visibility-filtering/hydration/tweet_source.rs:241-255 | visibility-filtering/hydration/tweet_source.rs:271-285 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/tweet_source.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ca507a46f8e5841df5400693cef6f3c703711461870346628401bf2b01c506"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:193-210 | botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:222-243 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"06244e06ee62c18f5cd60ac2badc380ce6d5535e433d68ca52d3ae4a7c00f9e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): grox/core/data_loaders/data_types.py:297-311 | grox/core/data_loaders/post_mapper.py:252-265 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/data_types.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5adc260554a604590b67008ece13a8d5a8f943327ada71c896031676da41b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:83-98 | phoenix/crates/serving/xai-recsys-engine/src/host_buffer.rs:134-146 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"350c905917e68f65399ca685ec2cf8499ca07f2932a45cc8c0b6ced8e4413c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): home-mixer/candidate_hydrators/engagement_counts_hydrator.rs:88-100 | home-mixer/candidate_hydrators/gizmoduck_hydrator.rs:58-69 | home-mixer/candidate_hydrators/media_info_hydrator.rs:89-100 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/engagement_counts_hydrator.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be8b9835fb1a50c491a2c9c0866ae79b699b93deb5f904d3ab07c3fb9187a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): home-mixer/util/urt/client_event.rs:127-142 | home-mixer/util/urt/client_event.rs:144-159 | home-mixer/util/urt/frame_marshaller.rs:40-54 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/client_event.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2891ad53772e8d4bfcedc610099fb04f7ae83e387cc91a19f29bd439480c452a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:902-912 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:983-993 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1064-1074 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"022276d6f7dd70132cf5e63c268c9530b16d37a0cb4bb21fa6b71f5516a99bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): botmaker/src/scala/com/twitter/botmaker/runtime/config/LocalCounterConfigs.scala:31-47 | botmaker/src/scala/com/twitter/botmaker/runtime/config/LocalStoreConfigs.scala:31-47 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/config/LocalCounterConfigs.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12d20db9607cba7a527e80f187fdb55e4b48fe52e16448b830d1c92371a7ae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): phoenix-rankall/src/processor/thrift_types.rs:8-17 | phoenix-rankall/src/processor/thrift_types.rs:19-28 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/thrift_types.rs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f8a2171a6e9445235644b92d4baa1c37aaaf7e1962783b12d0d458e02b8b6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 9\u002B corresponding lines): thunder/schema/events.rs:3359-3367 | thunder/schema/events.rs:3412-3420 | thunder/schema/events.rs:3908-3916 | thunder/schema/events.rs:3961-3969 | thunder/schema/tweet.rs:5345-5353 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":3359}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8947e8d37baf152fe744f6757a70db22d03e2c33eb3a07f68440075e5e7827"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): botmaker/src/scala/com/twitter/botmaker/rule/function/ResponseCodes.scala:314-335 | botmaker/src/scala/com/twitter/botmaker/rule/function/ResponseCodes.scala:393-420 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/rule/function/ResponseCodes.scala"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6568b426e61efaf72ea7a33f02f153ee0fbf963d7e8f194fa09e40a9878b640"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): bdsm/rust/accumulator/src/trace.rs:308-326 | bdsm/rust/accumulator/src/trace.rs:329-347 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/trace.rs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"2927bc17e9eccfaefd767936230daadb50c32e45f21364ad8d1af6a2c07b6f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 14\u002B corresponding lines): phoenix/crates/common/xai-recsys/src/model_config.rs:202-215 | phoenix/crates/common/xai-recsys/src/model_config.rs:217-230 | phoenix/crates/common/xai-recsys/src/model_config.rs:232-245 | phoenix/crates/common/xai-recsys/src/model_config.rs:261-274 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/model_config.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8f6d057f4712847a783ebb987bf64c5757aee8e3bc2b2e53c83dedb54227d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): home-mixer/clients/engagement_counts_client.rs:29-48 | home-mixer/clients/post_engagers_client.rs:31-47 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/engagement_counts_client.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f5ae2cf06eb1000e46d3e0561c1f8b23e0d4e51d75d45c8172f85e37ccff26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/DerivedFeatureProvider.java:66-77 | botmaker/src/java/com/twitter/botmaker/compiler/DerivedFeatureProvider.java:79-90 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/DerivedFeatureProvider.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac17b8d19e80ed55ea9a76338fc59744b7ef2a421ffe1f5e67916370e7ce7b5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): simclusters/simclusters_v2/scalding/embedding/common/ExternalDataSources.scala:357-370 | simclusters/simclusters_v2/scalding/offline_job/SimClustersOfflineJobUtil.scala:65-79 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/embedding/common/ExternalDataSources.scala"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e739949e9d0d1c7a94316e6bc0a7782e2372cd3873c120149c4eb7bbdabf55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): visibility-filtering-client/graphql_results.rs:53-60 | visibility-filtering-client/graphql_results.rs:79-87 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering-client/graphql_results.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2899d0edc6734cd9d5cb67844060a798076c8787d83bbeb6381e5a8088df6679"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/Context.java:271-283 | botmaker/src/java/com/twitter/botmaker/Context.java:301-318 | botmaker/src/java/com/twitter/botmaker/Context.java:323-336 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/Context.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"85daf6781dafd029de18ca294bea462c540342af264bd2ab61eba1f8abe8608a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:750-756 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:1088-1095 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:1098-1105 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbe9aaca6589dc8c7ae1fb00c0cae2c54f05108591e6e862ac11a57719b99df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/conversion/ThriftFromDict.java:32-40 | botmaker/src/java/com/twitter/botmaker/function/conversion/ToThrift.java:27-35 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/conversion/ThriftFromDict.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"581fb6d513e4eec94b00208d45d57464fddc312d67c503df15a2a8e401893533"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/math/ArithmeticOperation.java:168-174 | botmaker/src/java/com/twitter/botmaker/function/math/ArithmeticOperation.java:177-183 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"botmaker/src/java/com/twitter/botmaker/function/math/ArithmeticOperation.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a922990e6fafb6b71c60638a5127aeda9487bcfa03515fa9657980738e3d2700"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): grox/core/generators/task_generator.py:154-162 | grox/core/generators/task_generator.py:165-173 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/generators/task_generator.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"552e6d1d268fbb2be69c566c45cd901df19e79395e7060c50a1f278262090e9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): home-mixer/selectors/blender_selector.rs:143-155 | home-mixer/selectors/blender_selector.rs:200-212 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/selectors/blender_selector.rs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb73e4b98cde610546133bf2b899415813eaeaebdb127086ab8387de7231a18f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): phoenix/crates/serving/xai-recsys-mm-server/src/o2.rs:44-59 | thunder/o2/mod.rs:21-36 \u2014 These two members are one piece of code written twice and then edited apart: 16 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":"phoenix/crates/serving/xai-recsys-mm-server/src/o2.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c9cf05ff8f8d63d33e8605012393052056c089483a3517b9aaa32e03d2b559"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): adult-content/config.py:22-28 | clip/config.py:27-35 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"adult-content/config.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"39aaa1260b9edfb5237bd2ec8f1dce9f4415ff3e4a97ded382afddb054beff58"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): phoenix/xrex/pallas/ranker_attention_v2.py:56-63 | phoenix/xrex/pallas/ranker_attention_varlen.py:129-135 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"528af8d23d887d377bde3c0a21f474ad191da910d945c4423b7933264dca5ffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): phoenix/xrex/utils/tracer.py:150-161 | phoenix/xrex/utils/utils.py:149-156 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/tracer.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee31f303e931b31ba0b2fba7b2e740af55e093bfbb638a908ffcef7b4fbd997"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): simclusters/simclusters_v2/summingbird/stores/TopKClustersForEntityReadableStore.scala:15-35 | simclusters/simclusters_v2/summingbird/stores/TopKTweetsForClusterReadableStore.scala:45-63 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/stores/TopKClustersForEntityReadableStore.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbdb56e6829c10d5922ef57352ff34e567610517df7ba3ce2f69e181ee673b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): simclusters/simclusters_v2/summingbird/stores/UserInterestedInReadableStore.scala:176-191 | simclusters/simclusters_v2/summingbird/stores/UserKnownForReadableStore.scala:27-41 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/stores/UserInterestedInReadableStore.scala"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03f1a7ff145d3cb79ac022586b4016f3dc774c92d05b7747d60847fe7026467"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): home-mixer/query_hydrators/followed_grok_topics_query_hydrator.rs:28-39 | home-mixer/query_hydrators/followed_starter_packs_query_hydrator.rs:28-39 | home-mixer/query_hydrators/recent_search_queries_query_hydrator.rs:31-39 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/query_hydrators/followed_grok_topics_query_hydrator.rs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"caad263d06ae8127c9955a8677f5e2cc0e7fb53512c77c311a0f03d5e443b850"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 12\u002B corresponding lines): under-the-hood/scalding/UthDailyAccountLabelsJob.scala:235-246 | under-the-hood/scalding/UthDailyPostTakedownLabelsJob.scala:287-298 | under-the-hood/scalding/UthDailyPostsJob.scala:470-481 | under-the-hood/scalding/UthPctdAccountTakedownEventsJob.scala:443-454 | under-the-hood/scalding/UthReferenceMonthMhPublisherJob.scala:520-531 | under-the-hood/scalding/UthUserMonthMhPublisherJob.scala:437-448 | under-the-hood/scalding/legacy_experimental_adhoc/UnderTheHoodAccountLabelsJob.scala:180-191 | under-the-hood/scalding/legacy_experimental_adhoc/UnderTheHoodPostLabelsJob.scala:224-235 \u2014 These 8 members are one piece of code written 8 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthDailyAccountLabelsJob.scala"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9320afd8f4b67175c40e5c80e006cde6e64d74307065ccfd3a4320c51bf8697"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): abuse-enforcement-service/service-lib/src/dedup_cache.rs:369-379 | abuse-enforcement-service/service-lib/src/dedup_cache.rs:381-391 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/dedup_cache.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf58de1b5ca7290a38e45aec086fb0f4040a554192c113a12557d889c1e0f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/config/ManhattanClientConfigs.scala:65-75 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/config/MemCachedClientConfigs.scala:62-73 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/config/MemCachedCounterConfigs.scala:62-71 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/config/ManhattanClientConfigs.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbac52d9356e6ed4314466f5c444468e0b9858eeaf8079db92f84e1accb48ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/types/StructTupleType.java:123-130 | botmaker/src/java/com/twitter/botmaker/compiler/types/TupleType.java:45-51 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"botmaker/src/java/com/twitter/botmaker/compiler/types/StructTupleType.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d69b4ff197951cbb80f03534555669dc1eda72f7a05c2ef591fc0dffc78ef86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): simclusters/simclusters_v2/scalding/offline_data_conversion/ClusterDetails20M145K2020FlattenJob.scala:63-72 | simclusters/simclusters_v2/scalding/offline_data_conversion/InterestedIn20M145K2020FlattenJob.scala:56-65 | simclusters/simclusters_v2/scalding/offline_data_conversion/KnownFor20M145K2020FlattenJob.scala:55-64 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/offline_data_conversion/ClusterDetails20M145K2020FlattenJob.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca8006e32491b56c8b9a8629dcba5eb745ff0c16f303aecbe50f01cc031d54c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): home-mixer/util/urt/cursors.rs:10-23 | home-mixer/util/urt/reverse_chron_following/cursors.rs:14-26 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/cursors.rs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa15c3353f21ee5dd7d1ff2b44901a0bc7d4e46ab0f83ba66bd0c19caf1cc25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): visibility-filtering/hydration/relation.rs:67-73 | visibility-filtering/hydration/relation.rs:75-81 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"visibility-filtering/hydration/relation.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f0d37936b25221a7473b1356c751d8d829a35bca60be5e6c2438d8771bfd71a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfInAppReport.java:169-183 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetReport.java:36-50 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfInAppReport.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cb366fdd849f5c00da06989a700bd20f60fa3e7149a0fdc3db7863c03a21aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): grox/core/dispatcher.py:24-32 | grox/core/engine.py:29-34 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/dispatcher.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"22679bf1117f74912e86cd0222b96ca0dc134e6241fbfed0b681b44bb2803943"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): phoenix/xrex/inference/int8_post_table.py:9-11 | phoenix/xrex/models/recsys_two_tower_model.py:909-911 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"phoenix/xrex/inference/int8_post_table.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3026e790744ee4bb5efcf52368d9d35edf11e0719f23860ec4740698451bb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): visibility-filtering/rules/engine.rs:612-622 | visibility-filtering/rules/engine.rs:624-634 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/engine.rs"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1be5a73ef22c8b2a894a48445c7313330b30d07ed5da06b7d6176d3c77e566b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): phoenix/xrex/cuda/async_emb/async_emb.py:81-90 | phoenix/xrex/cuda/row_emb/row_emb.py:81-90 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/async_emb/async_emb.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fe6c1e20354478dfad656a43b501af54ce0e6927b98b2f27c5242fbb265ea3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): phoenix/xrex/data/recsys/recsys_batch.py:268-272 | phoenix/xrex/data/recsys/recsys_batch.py:281-285 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"1490416bc551a69b8c23de14941d7e63d98626b59ec0ecdf5af692f22fea551a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 13\u002B corresponding lines): simclusters/simclusters_v2/scalding/multi_type_graph/assemble_multi_type_graph/AssembleMultiTypeGraph.scala:129-141 | simclusters/simclusters_v2/scalding/multi_type_graph/assemble_multi_type_graph/AssembleMultiTypeGraph.scala:147-159 | simclusters/simclusters_v2/scalding/multi_type_graph/assemble_multi_type_graph/AssembleMultiTypeGraph.scala:165-177 | simclusters/simclusters_v2/scalding/multi_type_graph/assemble_multi_type_graph/AssembleMultiTypeGraph.scala:183-195 | simclusters/simclusters_v2/scalding/multi_type_graph/assemble_multi_type_graph/AssembleMultiTypeGraph.scala:218-230 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/multi_type_graph/assemble_multi_type_graph/AssembleMultiTypeGraph.scala"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"192d49649e78152636193fedb95dfddc6e77d9650b035d11f419fdd98286f901"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): home-mixer/candidate_pipeline/mod.rs:29-37 | home-mixer/candidate_pipeline/mod.rs:41-49 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_pipeline/mod.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad987deabdc55623b59eb4f81776367c642ae07199d64ae1b110b5e7150eab8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTwitterContext.java:39-50 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTwitterContext.java:52-61 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTwitterContext.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da24ebce448bda24047f3e7ffc431c4894932b5a81737c171bc4535cdc918e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java:158-172 | botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java:214-228 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb88c75e3ae3b35b4a94d2124b27e0c79640ba99427a4a9be72886bbc27da995"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/collection/MapEntries.java:55-61 | botmaker/src/java/com/twitter/botmaker/function/collection/MapRemove.java:68-77 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"botmaker/src/java/com/twitter/botmaker/function/collection/MapEntries.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"139abe7de7ae7a1d8b5f6b44c262c9e1fccd9cca5cab72a8c5305f4186e72c63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): simclusters/simclusters_v2/summingbird/stores/TopKClustersForTweetReadableStore.scala:154-170 | simclusters/simclusters_v2/summingbird/stores/TopKTweetsForClusterReadableStore.scala:193-209 | simclusters/simclusters_v2/summingbird/stores/TopKTweetsForClusterReadableStore.scala:213-230 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/stores/TopKClustersForTweetReadableStore.scala"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a5113e6dc8ba1d50376d1933ec51da66478db8e074078437b95450fc740fd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfHealthSideEffectEvent.java:135-143 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfHealthSideEffectEvent.java:197-202 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfHealthSideEffectEvent.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98b606cf3755fc70b7edb8bedfcbf79129d2053e0350958036108a4ac755379"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): simclusters/simclusters_v2/scalding/multi_type_graph/assemble_multi_type_graph/AssembleMultiTypeGraph.scala:236-249 | simclusters/simclusters_v2/scalding/multi_type_graph/assemble_multi_type_graph/AssembleMultiTypeGraph.scala:255-267 | simclusters/simclusters_v2/scalding/multi_type_graph/assemble_multi_type_graph/AssembleMultiTypeGraph.scala:318-330 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/multi_type_graph/assemble_multi_type_graph/AssembleMultiTypeGraph.scala"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc4e6b8ddbd01015cd264063a36f617b63fa4ea34b5e0689f2a568e20c2f9a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): under-the-hood/scalding/legacy_experimental_adhoc/UnderTheHoodAccountLabelsJob.scala:156-164 | under-the-hood/scalding/legacy_experimental_adhoc/UnderTheHoodPostLabelsJob.scala:203-210 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/legacy_experimental_adhoc/UnderTheHoodAccountLabelsJob.scala"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"326c0def277f83bf5bd99524c57cec9bdd2bbf952c883625eb4555600dfdfb57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): abuse-enforcement-service/service-lib/src/service.rs:271-280 | abuse-enforcement-service/service-lib/src/service.rs:318-327 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b66d6f638bd09d2fc6b8eba4a84bfb7dfd867232d32e96aafab71a226deacd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): phoenix-rankall/src/processor/gen/scored_candidate.rs:62-73 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:215-229 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:415-430 | thunder/schema/tweet.rs:2660-2670 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"66464b9ad281af85493b8a11706f91684ee3640fc99365304653973d0dd04e12"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): agatha/hub/agatha/job/AgathaJobTemplates.scala:106-114 | agatha/scalding/blink/BlinkScoreJobTemplate.scala:248-256 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agatha/hub/agatha/job/AgathaJobTemplates.scala"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0386c0a030dd4eaa80a23f268f4fb3cb965b3ea188b45ac3fce09bb2cf2b75f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala:1002-1015 | botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala:1023-1037 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"faae01c53d38ac859ecc4a69852fcf5ffc8aa6df80fde7781d197a75ef11bc1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/feature/Exists.java:39-52 | botmaker/src/java/com/twitter/botmaker/function/Constant.java:167-179 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/feature/Exists.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87ff9113fc4af389bf88a1931bbfe9095536c9d69a1667b6ca2e585b9c4bd3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/function/string/RegexExtract.java:59-69 | botmaker/src/java/com/twitter/botmaker/function/string/RegexMatch.java:36-46 | botmaker/src/java/com/twitter/botmaker/function/string/Replace.java:59-69 | botmaker/src/java/com/twitter/botmaker/function/string/SplitString.java:56-65 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/string/RegexExtract.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5376d833b8673074e60a420ac52e375603b17091b1670a5e2366b1da54bdf417"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): phoenix/xrex/utils/utils.py:317-323 | phoenix/reference/train_step.py:88-90 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"phoenix/xrex/utils/utils.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dbf77b41ae2d17f2e4acb994f2d40ec9d278f9e03e2184bbc3a825d5267bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): grox/core/data_loaders/data_types.py:677-685 | grox/core/data_loaders/post_mapper.py:283-295 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/data_types.py"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d53b27188a233a9ab2a4bdb9071e987b6e0053997ae33ae47f43cb89dda63f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): home-mixer/ads/health_metrics.rs:25-39 | home-mixer/sources/simclusters_source.rs:186-201 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/health_metrics.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20e6484ac67a9935676e0499d62d11de7974c80ea76e2fc8bb245eceb53cf5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala:111-119 | botmaker/botmaker_thrift/src/main/scala/com/twitter/botmaker/runtime/ScribePublisher.scala:108-116 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"559252b3f7ce88bc8437b9b85dd35ba67d0b07ca9ba1d54d8a13740f8b7b5597"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/tuples/Tuple4.java:23-35 | botmaker/src/java/com/twitter/botmaker/compiler/tuples/Tuple3.java:21-31 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/tuples/Tuple4.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee734bbd4229601cdea9a846aff6466ac24dcf5c2e7644f45fc1f8c4eaff426f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java:130-139 | botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftType.java:163-173 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"44dbfccaae8c9203fe8be8f989fc073598158b5de2acd686b995e469c9fe0eeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): abuse-enforcement-service/service-lib/src/backfill.rs:405-412 | abuse-enforcement-service/service-lib/src/backfill.rs:414-424 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"8946a3a1cd0c710590f5e11e9cd299a6de5e75b9d64fd46e500760bf93fd2177"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): grox/flows/mm_emb/renderer_v82.py:318-320 | grox/flows/mm_emb/renderer_v8_search.py:407-409 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"9340e0470cded6cfcb5b2efed8f93dbdaae373fe412f9017b9e3addbf33d05c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): phoenix/python/training/xai-checkpointing/xai_checkpointing/adler32_zlib.py:13-16 | phoenix/xrex/cuda/adler32/__init__.py:46-49 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/training/xai-checkpointing/xai_checkpointing/adler32_zlib.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b617efe3e0cc9e16c886be7bbb9fef9c4978423847c80d763952003eef68204"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): visibility-filtering/rules/golden_corpus/community.rs:26-36 | visibility-filtering/rules/golden_corpus/post_notifications.rs:81-91 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/golden_corpus/community.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0bd4c01db778f432cd2389152882da129dfec520906ef62d83d48d9a6b2bf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): visibility-filtering/hydration/batch.rs:35-43 | visibility-filtering/hydration/decode/author.rs:102-109 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/batch.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ae669d50f36595700b0a4eb5547b0756047c675d974e49c2c466d055fbef14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/types/StructTupleType.java:156-167 | botmaker/src/java/com/twitter/botmaker/compiler/types/TupleType.java:71-78 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/StructTupleType.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c380072df60f595516620a5947e2e34d531054bc11b5c101aa74b99d3d959074"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 6\u002B corresponding lines): botmaker/src/java/com/twitter/botmaker/function/logic/GreaterThan.java:47-53 | botmaker/src/java/com/twitter/botmaker/function/logic/GreaterThanOrEquals.java:47-53 | botmaker/src/java/com/twitter/botmaker/function/logic/LessThan.java:47-53 | botmaker/src/java/com/twitter/botmaker/function/logic/LessThanOrEquals.java:47-53 | botmaker/src/java/com/twitter/botmaker/function/math/ArithmeticOperation.java:49-54 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/logic/GreaterThan.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8733d54b7ccd9aa903ab15be0771416dacbb95162341cece090eb3e64f16e180"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): thunder/schema/tweet.rs:1622-1631 | thunder/schema/user.rs:11022-11030 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"656be690d8ffa7cce18e79067266744b149e79b80d3353c3f1efb465174c8d3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): thunder/schema/tweet.rs:1741-1750 | thunder/schema/user.rs:11215-11223 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff407f8c6108245c719ad0bca514afea5c249710cd532941f68b96471e61358"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): simclusters/simclusters_v2/scalding/evaluation/SimClustersEvaluationAdhocApp.scala:157-167 | simclusters/simclusters_v2/scalding/offline_job/SimClustersOfflineJobUtil.scala:50-61 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/evaluation/SimClustersEvaluationAdhocApp.scala"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b34350314fc8d05909d2c545fa953907c49d930fe73d365250f892a8dbd06d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): home-mixer/filters/ancestor_video_filter.rs:16-22 | home-mixer/filters/ancillary_vf_filter.rs:12-18 | home-mixer/filters/vf_filter.rs:13-19 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/filters/ancestor_video_filter.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd3acc61b36b6d2ac72b39d0b1f63b1eee951127ca6b8a14c329869e881f10f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): grox/core/plans/registry.py:7-11 | grox/core/services/registry.py:19-25 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/plans/registry.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf7b66f4c947f748139fd424d12e523feca8864406ca9096f337d0084597112"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): phoenix/python/training/xai-checkpointing/xai_checkpointing/common.py:76-78 | phoenix/xrex/train/trainer_recsys.py:180-182 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"phoenix/python/training/xai-checkpointing/xai_checkpointing/common.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ab6227dd19fa5f40dfe620d41b6f5adff8fda4483becf2c0f113e1b4cdc335"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/collection/Filter.java:209-217 | botmaker/src/java/com/twitter/botmaker/function/collection/ForEach.java:174-182 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/Filter.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc4c2c3ef6c0f6bdd79fec656d47d51238b0a0734ed3df2a615befcedfdcc1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): abuse-enforcement-service/service-lib/src/action_control.rs:431-442 | abuse-enforcement-service/service-lib/src/dedup_cache.rs:237-242 | abuse-enforcement-service/service-lib/src/sliding_window.rs:164-169 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e3dbb89b183f335856702fa994b70c6f3f6c69f5906dc39bf94e143d1ff111"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetCreate.java:30-37 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetUndelete.java:27-33 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetCreate.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe7c75b683b54ea53fad63e97485434f609e74ef5264ffc08018b208a2c2d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): botmaker/src/scala/com/twitter/botmaker/runtime/function/IncrementStats.scala:27-32 | botmaker/src/scala/com/twitter/botmaker/runtime/function/SampleStats.scala:27-32 | botmaker/src/scala/com/twitter/botmaker/runtime/function/SetStats.scala:27-32 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/function/IncrementStats.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfba1ba06ae619f2a958a6139fff71762075c85a7f006d08eb5561f85617cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): simclusters/simclusters_v2/scalding/offline_data_conversion/ClusterDetails20M145K2020FlattenJob.scala:91-101 | simclusters/simclusters_v2/scalding/offline_data_conversion/InterestedIn20M145K2020FlattenJob.scala:82-91 | simclusters/simclusters_v2/scalding/offline_data_conversion/KnownFor20M145K2020FlattenJob.scala:84-94 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/offline_data_conversion/ClusterDetails20M145K2020FlattenJob.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b479d726014b66b32ed7a9e81835fd9e7c0db4c30dd27cef6bab134baab7bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): simclusters/simclusters_v2/summingbird/stores/ApeTopicEmbeddingStore.scala:30-41 | simclusters/simclusters_v2/summingbird/stores/TfgTopicEmbeddingsStore.scala:31-42 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/stores/ApeTopicEmbeddingStore.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"158b706a83abe7814f09b160e0419a2fd09a00b96b9237a6fadfc739c491e98c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/config/MemCachedClientConfigs.scala:51-60 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/config/MemCachedCounterConfigs.scala:51-60 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/config/MemCachedClientConfigs.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce695d1427ed3d9f8fa3ab28836c9da9fe436c9841be2d2da21bff19fa00d652"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/config/EventPublisherConfigs.scala:41-47 | botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/config/KafkaProducerConfigs.scala:67-73 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/config/EventPublisherConfigs.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8973c3cb9be1dba44a697eef67a8e16e85fb563a66576aeac3aa6cc4de4c9fb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/config/EventSubscriberConfigs.scala:111-117 | botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/config/KafkaConsumerConfigs.scala:107-113 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/config/EventSubscriberConfigs.scala"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd4124c833b0f86251aef898bea5c3733d70820546424def10ff5e027aced0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 7\u002B corresponding lines): botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/config/ManhattanClientConfigs.scala:47-53 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/config/MemCachedClientConfigs.scala:43-49 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/config/MemCachedCounterConfigs.scala:43-49 | botmaker/src/scala/com/twitter/botmaker/runtime/config/LocalCounterConfigs.scala:49-55 | botmaker/src/scala/com/twitter/botmaker/runtime/config/LocalStoreConfigs.scala:49-55 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/config/ManhattanClientConfigs.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9f86c9a593997bac039f61cda0b7bf6bc1ac39aebcdaa10f02cd88fe649b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): abuse-enforcement-service/service-lib/src/service.rs:83-89 | phoenix/crates/serving/xai-recsys-engine/src/multimodal_retrieval.rs:29-35 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"891042205b23bc03825a8dcf101b76e84c3cb8683aff7b786b6494976af9f1f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/CompilerBuilder.java:101-110 | botmaker/src/java/com/twitter/botmaker/compiler/CompilerScope.java:96-101 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/CompilerBuilder.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b263cce3c8d1c71556b70ab66b1b6069342fdfd8e30d2fa3b96ca5d93c4eb254"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): botmaker/src/java/com/twitter/botmaker/compiler/CompilerBuilder.java:113-121 | botmaker/src/java/com/twitter/botmaker/compiler/CompilerScope.java:103-108 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/CompilerBuilder.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cb30bf91a77a321aa235d2b6c9c3ac360fd9423b7c2c883730c6aca33b0c76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): grox/libs/blobstore_http/blobstore.py:64-67 | grox/libs/wily_cli/wily_client.py:55-58 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/blobstore.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8058b00c9904e0a1d3c631da832970b59a1373748b9dff8070aa8be9c13abc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): scarecrow/legacy/GuanoRegistry.scala:28-37 | scarecrow/legacy/TweetServiceRegistry.scala:57-63 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"scarecrow/legacy/GuanoRegistry.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1ff21d53dc7680022fd6ed596f974dd047a5d4e4736e2c0478bc05f5d5c206"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): phoenix/crates/common/xai-recsys/src/reply.rs:307-314 | phoenix/crates/common/xai-recsys/src/util.rs:108-115 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/reply.rs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a855cb86e61ee80b834ad4aba5141547d4775a85c44dd9e39a3a8ce04f2a893"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/config/MemCachedClientConfigs.scala:32-41 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/config/MemCachedCounterConfigs.scala:32-41 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/config/MemCachedClientConfigs.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d8e689455951868a39ab879652e47bcab03872bafd6238c817aaa7b4db7f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): botmaker/src/java/com/twitter/botmaker/function/feature/Exists.java:54-63 | botmaker/src/java/com/twitter/botmaker/function/feature/GetOrElse.java:87-95 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/feature/Exists.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"689468a305280e35415868e9022d3ef330379fd62a995ec5579f35ea19f7914f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): adult-content/scripts/calibrate_model_scores.py:9-15 | adult-content/scripts/train_model.py:9-15 | clip/training.py:18-25 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"adult-content/scripts/calibrate_model_scores.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b49f00661df121f25d9eae4839456ba556be1814bafd16453c199e53e1456c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): bdsm/runtime/login_starter_pack_counter.py:25-27 | bdsm/runtime/starter_pack_follows.py:24-26 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"bdsm/runtime/login_starter_pack_counter.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f409d84b8cf9af804e1842fa7241fad5331195ad6140758ddbcfd2809ef2617a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): simclusters/simclusters_v2/scalding/embedding/producer/AggregatableFavBasedProducerEmbeddings.scala:57-66 | simclusters/simclusters_v2/scalding/embedding/producer/AggregatableFollowBasedProducerEmbeddings.scala:61-70 | simclusters/simclusters_v2/scalding/embedding/producer/AggregatableLogFavBasedProducerEmbeddings.scala:65-74 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/embedding/producer/AggregatableFavBasedProducerEmbeddings.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8616b65f862a117c4b17afb6b0f9604a9054b7c6bfef31dc69f5e239fd384a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): simclusters/simclusters_v2/scalding/embedding/producer/AggregatableFavBasedProducerEmbeddings.scala:109-118 | simclusters/simclusters_v2/scalding/embedding/producer/AggregatableLogFavBasedProducerEmbeddings.scala:117-126 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/embedding/producer/AggregatableFavBasedProducerEmbeddings.scala"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cbfdbeee2331e73512e8b6af5cbde844038513777e29dedc0f368aae385401"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): home-mixer/ads/partition_organic_blender.rs:216-221 | home-mixer/filters/ad_adjacent_served_filter.rs:286-291 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/partition_organic_blender.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f66ab7997f39b51b028a954015a80bfdd7f722a5cb51763b3654632901cf07b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): phoenix-rankall/src/processor/gen/scored_candidate.rs:295-303 | thunder/schema/events.rs:1005-1014 | thunder/schema/tweet.rs:3915-3924 | thunder/schema/user.rs:13874-13883 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"c060c1acb8b458af69d6bb9205e5dc5036c5cdcf6b023b3f12829bb26a26ec55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): agatha/scalding/NSFWBuildJob.scala:38-50 | agatha/scalding/RateBasedBuildJob.scala:42-54 | agatha/scalding/SpagathaBuildJob.scala:38-50 | agatha/scalding/data/ActiveUserFeaturesJob.scala:47-57 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agatha/scalding/NSFWBuildJob.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a0bfab6b5606c694365a3b57a9b2d7f5c01ae82994b6ed6fe5c2cbb054b82f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): grox/core/data_loaders/data_types.py:574-580 | grox/core/data_loaders/post_mapper.py:271-277 \u2014 These two members are one piece of code written twice and then edited apart: 7 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":"grox/core/data_loaders/data_types.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e922a53968f932e13da8c82a629a69ec5132e44345bf0e8b4c014725996670"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): thunder/schema/events.rs:1135-1140 | thunder/schema/tweet.rs:2348-2353 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cf949ce1d714777a92b7426dc08559182055c7259b5c06f4fe8adf981b1282"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): thunder/schema/events.rs:1169-1174 | thunder/schema/tweet.rs:3318-3323 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75f0764e028e2859537693c1b7cf675c880e6ae7b11def3afec28808b7cebe2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): abuse-enforcement-service/service-lib/src/lib.rs:117-122 | visibility-filtering-client/discovery.rs:83-88 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d7d7436c85d4fda4f0d4b09d7d06ea18a4671a69d30430c16e3fffee335fd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): home-mixer/candidate_hydrators/bidirectional_follow_hydrator.rs:70-75 | home-mixer/candidate_hydrators/blocked_by_hydrator.rs:48-52 | home-mixer/candidate_hydrators/in_network_candidate_hydrator.rs:41-45 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/bidirectional_follow_hydrator.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"507c6f701ec4cc3d39ba7a69fa1f1103dd9a76d9361f29e1950ad1994eec33f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (110\u2013120 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:2102-2211 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2606-2725 \u2014 both copies are in the same file, so extract the block 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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":2102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63ae88eb4d5088d115317db9e416a80cc4f4d8adc29fdde05e5af84a74acc62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54\u201355 lines \u00D7 2): phoenix/crates/common/xai-recsys/src/util.rs:1266-1320 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:85-138 \u2014 before extracting anything, compare \u0060phoenix/crates/common/xai-recsys/src/util.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/util.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/common/xai-recsys/src/util.rs:1266\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":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"acdf10a162729e1b35ae52c7f61c9b00b1a77921b6d0161270f272e92427bb64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1917-1962 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2528-2573 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:1917\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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1917}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1bae5ccbc7607a4601483241be51a9f5d70f590e709770f8db36ee8bd391a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): thunder/schema/user.rs:10084-10129 | thunder/schema/user.rs:10491-10536 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/user.rs"},"region":{"startLine":10084}}}],"partialFingerprints":{"codehealthFindingId/v1":"58afb830ff2ba960d1b71c61a12965b6db47ae6f4e57849a35eed037ed7edcf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs:758-802 | home-mixer/candidate_pipeline/phoenix_scores_pipeline.rs:259-303 \u2014 before extracting anything, compare \u0060home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs\u0060 and \u0060home-mixer/candidate_pipeline/phoenix_scores_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 162 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 \u0060home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs:758\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":"home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc293aa18b03b667846d9b1696f5bd97f987c33d4f2d711284ce41537d974f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): phoenix/crates/common/xai-recsys/src/util.rs:1408-1449 | phoenix/crates/common/xai-recsys/src/util.rs:1884-1925 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/common/xai-recsys/src/util.rs:1408\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":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1408}}}],"partialFingerprints":{"codehealthFindingId/v1":"8429607e2129b786a8286e3fe773b973029b687f8051a11fb9d41fcfcb9b80ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): home-mixer/ads/multi_risk_blender.rs:214-252 | home-mixer/ads/partition_organic_blender.rs:150-188 \u2014 before extracting anything, compare \u0060home-mixer/ads/multi_risk_blender.rs\u0060 and \u0060home-mixer/ads/partition_organic_blender.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 56 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":"home-mixer/ads/multi_risk_blender.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d762f23164e89f0d0a76f199139a2110b1234f6cb5b46500bce461efbc5bb376"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs:810-848 | home-mixer/candidate_pipeline/phoenix_scores_pipeline.rs:302-340 \u2014 before extracting anything, compare \u0060home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs\u0060 and \u0060home-mixer/candidate_pipeline/phoenix_scores_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 162 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 \u0060home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs:810\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":"home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"102f38df2c28e0546311433c2b9c4cb65bafe98330e3010d6773447cf746c966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 4): thunder/schema/events.rs:736-770 | thunder/schema/events.rs:933-967 | thunder/schema/events.rs:3645-3679 | thunder/schema/events.rs:3816-3850 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bcebda44f0095f99d8e658da9cf5593b76c33235e489240196dd5e13f4070c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs:596-630 | home-mixer/candidate_pipeline/phoenix_scores_pipeline.rs:201-235 \u2014 before extracting anything, compare \u0060home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs\u0060 and \u0060home-mixer/candidate_pipeline/phoenix_scores_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 162 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 \u0060home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs:596\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96189485f9c459663a42b5ecf5758e71862f41854fd58567c782fba2085b7d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201334 lines \u00D7 2): thunder/schema/media_entity.rs:54-83 | thunder/schema/user.rs:3186-3219 \u2014 before extracting anything, compare \u0060thunder/schema/media_entity.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 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 \u0060thunder/schema/media_entity.rs:54\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":"thunder/schema/media_entity.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"267ce528b13a3ec46f6433e51061b6afc559ffd1ea11cf1e4589bf04e4e955c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): thunder/schema/events.rs:681-711 | thunder/schema/events.rs:878-908 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/events.rs:681\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"618b7d1470b635d6fa9feca4b201cb45f2c8d083419252a2b18e55a4cb39a1ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:667-696 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:944-973 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:667\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":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e37c9fae336564aecb3d705965235185029994393afe0329a513a232937a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): thunder/schema/tweet_events.rs:216-245 | thunder/schema/tweet_events.rs:477-506 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/tweet_events.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"835387bd87f430b6535a8abb0b5a7c9021d4dcb0bc05b3afede1881bc2e6221b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1171-1199 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2961-2989 \u2014 both copies are in the same file, so extract the block 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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"777a18233584b1d0d7e749afe9aec7ababf649c33a586ab3905a6daee4c58540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 4): thunder/schema/tweet.rs:1996-2023 | thunder/schema/tweet.rs:2076-2103 | thunder/schema/user.rs:11394-11421 | thunder/schema/user.rs:11538-11565 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1996\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":"thunder/schema/tweet.rs"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c47cfa8f7b769a9a393a9dc771a8cd32022dd7ebe0063ac0467ac776d3fcfd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27\u201328 lines \u00D7 2): home-mixer/candidate_pipeline/following_candidate_pipeline.rs:204-230 | home-mixer/candidate_pipeline/ranked_following_candidate_pipeline.rs:151-178 \u2014 before extracting anything, compare \u0060home-mixer/candidate_pipeline/following_candidate_pipeline.rs\u0060 and \u0060home-mixer/candidate_pipeline/ranked_following_candidate_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 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 \u0060home-mixer/candidate_pipeline/following_candidate_pipeline.rs:204\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_pipeline/following_candidate_pipeline.rs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2f50849aba4eec2c1359017c840e0f01a2b4dcb4d9343e70ab4b07960e9d70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs:668-695 | home-mixer/candidate_pipeline/phoenix_scores_pipeline.rs:234-261 \u2014 before extracting anything, compare \u0060home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs\u0060 and \u0060home-mixer/candidate_pipeline/phoenix_scores_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 162 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 \u0060home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs:668\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":"home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"d424f14845ee53e09d2633ecbc2ffcbbd90f1f6975d6d57b08c89f63f4f883eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): thunder/schema/user.rs:11919-11946 | thunder/schema/user.rs:11999-12026 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:11919\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":"thunder/schema/user.rs"},"region":{"startLine":11919}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3f2b31922114a8ef6c740ac2152491e4676d73478ebacc9333a05da1ac7eb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201327 lines \u00D7 2): phoenix/crates/common/xai-recsys/src/util.rs:1768-1794 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:338-362 \u2014 before extracting anything, compare \u0060phoenix/crates/common/xai-recsys/src/util.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/util.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/common/xai-recsys/src/util.rs:1768\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cabc35a0c39bd09d746a6a4003ae78331c585cac263176894e0cc9f47acb3f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): thunder/schema/tweet_events.rs:144-170 | thunder/schema/tweet_events.rs:417-443 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/tweet_events.rs:144\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":"thunder/schema/tweet_events.rs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"264641cca9a3429a5c14d9249d1281cb19ba5e32ccd67a72bf3fab43033822bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:972-997 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2805-2829 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:972\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"334b9e9d9b104780002a546a77304a88fb25c4e3f63010caf573091bf2f3b4c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1659-1714 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2447-2502 \u2014 both copies are in the same file, so extract the block 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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49848ea79bf2e9e5106001b320a2998b408c855990e0e0626ff7e19f9100a95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): phoenix-rankall/src/processor/main_processor.rs:31-55 | phoenix-rankall/src/processor/sid_processor.rs:42-66 | phoenix-rankall/src/processor/topic_processor.rs:30-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/main_processor.rs:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/main_processor.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"88054d57af98da4c0c2a2e3907b0eb68797ed7c910426627b74142aa4337694b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1234-1258 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:1290-1312 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:1234\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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3735e1bef97b64c7579db1044c34ffc8c8ac136e91735ce02e35d18957a96443"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:420-444 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:523-547 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:420\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":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bd18924914e8dba38c6b13db4840693321b22d1f8fb98fb655a74c6bf0cd81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): home-mixer/ads/partition_organic_blender.rs:269-292 | home-mixer/ads/time_gap_blender.rs:248-271 \u2014 before extracting anything, compare \u0060home-mixer/ads/partition_organic_blender.rs\u0060 and \u0060home-mixer/ads/time_gap_blender.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 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. 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":"home-mixer/ads/partition_organic_blender.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2d6889ea817219e1202f254dade3a73fc0b03c79192c028ca078f99004f8e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): phoenix/crates/common/xai-recsys/src/util.rs:1214-1237 | phoenix/crates/common/xai-recsys/src/util.rs:1570-1593 \u2014 both copies are in the same file, so extract the block 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":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"427b315e9cadcaf30957930412f4387bc1a8d926ebf0f7e97a962e13b5d8b4d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): thunder/schema/events.rs:667-689 | thunder/schema/events.rs:864-886 | thunder/schema/events.rs:3586-3608 | thunder/schema/events.rs:3757-3779 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:667\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"deafa7ac1e1438b4f74bfe86cbb614849c7f1d2f2ee22f9f750cf1d30be916aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): abuse-enforcement-service/service-lib/src/service.rs:1522-1544 | abuse-enforcement-service/service-lib/src/service.rs:1969-1991 \u2014 both copies are in the same file, so extract the block 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":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"908c26428a60f6d351891b35ac271aaa2972d8c3c1d9c12fcb5957aeb702d283"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs:251-275 | home-mixer/candidate_pipeline/ranked_following_candidate_pipeline.rs:147-169 \u2014 before extracting anything, compare \u0060home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs\u0060 and \u0060home-mixer/candidate_pipeline/ranked_following_candidate_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 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 \u0060home-mixer/candidate_pipeline/ranked_following_candidate_pipeline.rs:147\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8e336a419e39bc732829d5ab17eb873496007ccf316a3ea7fe2273f2e0d0ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): phoenix/crates/common/xai-recsys/src/util.rs:1451-1473 | phoenix/crates/common/xai-recsys/src/util.rs:1927-1949 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/common/xai-recsys/src/util.rs:1451\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":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9fde970b1a76e7f78854b636e68707e887b20c20c5ca3e7f2ae00cff9011af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:155-177 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1705-1727 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:155\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. 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":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ac3842da7d7f4a154591516d9062e125e64d8fe5ab3c15c1008284c69707d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201322 lines \u00D7 4): phoenix-rankall/src/store/base.rs:1154-1167 | phoenix-rankall/src/store/base.rs:1175-1183 | phoenix-rankall/src/store/base.rs:1191-1209 | phoenix-rankall/src/store/base.rs:1218-1239 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/store/base.rs:1154\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix-rankall/src/store/base.rs:1168\u0060 calls \u0060finish\u0060 and \u0060phoenix-rankall/src/store/base.rs:1184\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":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b84e51e279ce04850b882336c2c5b968305ec0281e96fef9f178f1b6a0c5408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201322 lines \u00D7 4): thunder/schema/events.rs:1818-1830 | thunder/schema/events.rs:1988-2000 | thunder/schema/tweet.rs:3019-3040 | thunder/schema/tweet_events.rs:1037-1049 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:1818\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":"thunder/schema/events.rs"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c7c9abfb2ae994eaf0afc84b7ce0c9d3945123639c7f1ff0681f8a4218778b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): home-mixer/candidate_pipeline/following_candidate_pipeline.rs:87-108 | home-mixer/candidate_pipeline/ranked_following_candidate_pipeline.rs:66-87 \u2014 before extracting anything, compare \u0060home-mixer/candidate_pipeline/following_candidate_pipeline.rs\u0060 and \u0060home-mixer/candidate_pipeline/ranked_following_candidate_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 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 \u0060home-mixer/candidate_pipeline/following_candidate_pipeline.rs:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_pipeline/following_candidate_pipeline.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a278fba973a157fa976b3025a0b01dd859b0d9bfef7cec5a1cba1dfcfcf0acb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): home-mixer/ads/partition_organic_blender.rs:135-155 | home-mixer/ads/time_gap_blender.rs:144-162 \u2014 before extracting anything, compare \u0060home-mixer/ads/partition_organic_blender.rs\u0060 and \u0060home-mixer/ads/time_gap_blender.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 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 \u0060home-mixer/ads/partition_organic_blender.rs:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/partition_organic_blender.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c2085bff130bd23a27300839bcbf0d8adc0736eed8b65ab24d25bf556c8189"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201321 lines \u00D7 3): phoenix/crates/serving/xai-recsys-engine/src/checkpoint_store.rs:335-355 | phoenix/crates/serving/xai-recsys-engine/src/checkpoint_store.rs:451-454 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:69-88 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. 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":"phoenix/crates/serving/xai-recsys-engine/src/checkpoint_store.rs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff28f997ca9c986e8e9610e808cbd561cea670b1854a2145242d16e60886f9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): thunder/schema/tweet_events.rs:1160-1180 | thunder/schema/tweet_events.rs:1267-1287 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet_events.rs"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"22336b79f30d1622b9278381c3456418750d29210a66bc5905182b0d74125282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 6): thunder/schema/media_entity.rs:173-192 | thunder/schema/tweet.rs:1643-1662 | thunder/schema/tweet.rs:1762-1781 | thunder/schema/tweet.rs:2163-2182 | thunder/schema/user.rs:11041-11060 | thunder/schema/user.rs:11234-11253 \u2014 before extracting anything, compare \u0060thunder/schema/media_entity.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 183 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 \u0060thunder/schema/media_entity.rs:173\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":"thunder/schema/media_entity.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d3ddce5d34f759fc37e7cc07ad443c519f62fcca23ea94178244f3d338493e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): phoenix/crates/common/xai-recsys/src/util.rs:1467-1486 | phoenix/crates/common/xai-recsys/src/util.rs:1635-1654 | phoenix/crates/common/xai-recsys/src/util.rs:1943-1962 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/crates/common/xai-recsys/src/util.rs:1486\u0060 calls \u0060unwrap_or\u0060 and \u0060phoenix/crates/common/xai-recsys/src/util.rs:1654\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2b88f74faf430b11f6c5c06f829330423b5312e0e6f79784ea7eecf85745b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 3): phoenix/crates/common/xai-recsys/src/util.rs:1488-1506 | phoenix/crates/common/xai-recsys/src/util.rs:1656-1675 | phoenix/crates/common/xai-recsys/src/util.rs:1964-1982 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f28388ce90c4b61fcef01d3b93c723f2322a5a630548c26fd6dcfc2d78c0a8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): thunder/schema/tweet.rs:1292-1311 | thunder/schema/tweet.rs:3254-3273 | thunder/schema/user.rs:10151-10170 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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":"thunder/schema/tweet.rs"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d8e793bbe4aa73b37a5a723c416e3660ada6eefd189bc172bfa463ec132d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): home-mixer/util/urt/feedback.rs:70-89 | home-mixer/util/urt/feedback.rs:106-125 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060home-mixer/util/urt/feedback.rs:70\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":"home-mixer/util/urt/feedback.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ea45101f945e84b2d44a6fe385effd76214fcc75b1f4bc1e16db7c4f139a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): thunder/schema/tweet.rs:1818-1837 | thunder/schema/user.rs:11285-11304 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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":"thunder/schema/tweet.rs"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c633f15c767ab30fdf0469e3320ca9dbdd13f88ed7b2e5849167c493970501"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): thunder/schema/tweet_media.rs:615-634 | thunder/schema/tweet_media.rs:699-718 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/tweet_media.rs:615\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":"thunder/schema/tweet_media.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"c874316e8256eae6a0c1549b4e1d1fb7db945424d1f5373812fca7795a4a5626"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): thunder/schema/user.rs:13443-13462 | thunder/schema/user.rs:13564-13583 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/user.rs"},"region":{"startLine":13443}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c332e8cc053669028c7eb379339cb90e89809cf98f7697254df133ff92f121"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs:88-106 | home-mixer/candidate_pipeline/ranked_following_candidate_pipeline.rs:55-73 \u2014 before extracting anything, compare \u0060home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs\u0060 and \u0060home-mixer/candidate_pipeline/ranked_following_candidate_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 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 \u0060home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs:88\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"59857d8edb41d86120c83336d289f0b8ae5b561a6e10efd0ab7561886ed87b74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): safety-label-source/connect.rs:201-219 | visibility-filtering/server_deps.rs:81-99 \u2014 before extracting anything, compare \u0060safety-label-source/connect.rs\u0060 and \u0060visibility-filtering/server_deps.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060safety-label-source/connect.rs:201\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"safety-label-source/connect.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bee7952f3bf627f6004075004f47a846ce7a1468fb082daf433185befcdff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 11): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:163-180 | thunder/schema/events.rs:1195-1212 | thunder/schema/events.rs:1249-1266 | thunder/schema/events.rs:3990-4007 | thunder/schema/tweet.rs:2518-2535 | thunder/schema/tweet.rs:4039-4056 | thunder/schema/tweet.rs:4687-4704 | thunder/schema/tweet.rs:4888-4905 | thunder/schema/tweet.rs:4941-4958 | thunder/schema/tweet.rs:4994-5011 | thunder/schema/user.rs:10640-10657 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0740adf01511f88e3140031f827feae51c026db8011a11a0de4c753deb41b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): thunder/schema/media_common.rs:574-591 | thunder/schema/tweet.rs:1240-1257 | thunder/schema/tweet.rs:3203-3220 | thunder/schema/tweet.rs:3344-3361 | thunder/schema/tweet_media.rs:551-568 \u2014 before extracting anything, compare \u0060thunder/schema/media_common.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 235 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":"thunder/schema/media_common.rs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"03381b9f3780a549d5461674d74de9d8e8b4413d5281702c8abb1a0771a06949"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): home-mixer/server.rs:411-428 | home-mixer/server.rs:511-528 | home-mixer/server.rs:574-591 | home-mixer/server.rs:677-694 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/server.rs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b9be95bcb7ef3b87c01c73761c181dd21cd21ed4d8d5c52e6ab5e27c51733e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): home-mixer/ads/partition_organic_blender.rs:52-77 | home-mixer/ads/time_gap_blender.rs:70-95 \u2014 before extracting anything, compare \u0060home-mixer/ads/partition_organic_blender.rs\u0060 and \u0060home-mixer/ads/time_gap_blender.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 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, \u0060home-mixer/ads/partition_organic_blender.rs:79\u0060 calls \u0060default\u0060 and \u0060home-mixer/ads/time_gap_blender.rs:97\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":"home-mixer/ads/partition_organic_blender.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"79eb7f9011dd969b795c7506a8ee20f137072e6058e5466e6e9007cd41f798f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201318 lines \u00D7 2): phoenix-rankall/src/store/base.rs:791-803 | phoenix-rankall/src/store/base.rs:845-862 \u2014 both copies are in the same file, so extract the block 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":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64fc166170aeac99355fae3c7d0f07c31ef8c88c1f4f4efde4d2dd4b897de9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): thunder/schema/user.rs:11959-11976 | thunder/schema/user.rs:12039-12056 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:11959\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":"thunder/schema/user.rs"},"region":{"startLine":11959}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba088c3c17a438b4af1a4e6276457dc037f9e11e9572688a3ca516c8533779f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): thunder/schema/tweet.rs:4208-4226 | thunder/schema/tweet.rs:4296-4314 | thunder/schema/tweet.rs:4384-4402 | thunder/schema/tweet.rs:4472-4490 | thunder/schema/tweet.rs:4560-4578 | thunder/schema/tweet.rs:4648-4666 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/tweet.rs:4208\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":"thunder/schema/tweet.rs"},"region":{"startLine":4208}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2e70f5d20f6d7d8860b0452d1dcaeb104f4acb18e45f584cd9f694d1fc9543"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs:313-329 | home-mixer/candidate_pipeline/ranked_following_candidate_pipeline.rs:197-213 \u2014 before extracting anything, compare \u0060home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs\u0060 and \u0060home-mixer/candidate_pipeline/ranked_following_candidate_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 71 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 \u0060home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs:313\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":"home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb962bdb62407303230416311d3ab86a16b7d2540239e13107e4af07ca645a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:1915-1932 | phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:1269-1286 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:1915\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":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef371059b93d8c052a2bd32ec6728666f29f4bf84889d9c447c8ff3dc3b3d261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): thunder/schema/media_entity.rs:88-104 | thunder/schema/user.rs:3225-3241 \u2014 before extracting anything, compare \u0060thunder/schema/media_entity.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 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":"thunder/schema/media_entity.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4fc8c92e6d204e9d2a0bab4cb21510c535406076b6b78aab9a221c0a0cd4e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): thunder/schema/tweet.rs:3663-3679 | thunder/schema/tweet.rs:3800-3816 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/tweet.rs:3663\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":"thunder/schema/tweet.rs"},"region":{"startLine":3663}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fb044c5147c413d5fc10fa2eb7d2f76fc4ebbb8c26fe92ef337afc9e3ea717"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): phoenix-rankall/src/processor/gen/hydra.rs:70-85 | phoenix-rankall/src/processor/gen/hydra.rs:208-223 | phoenix-rankall/src/processor/gen/hydra.rs:486-501 | phoenix-rankall/src/processor/gen/scored_candidate.rs:87-102 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 117 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 \u0060phoenix-rankall/src/processor/gen/hydra.rs:70\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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"780697030e1ec07489ebfb64e6c014b36c272c28b954b9388f20bf2e7da0df4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): abuse-enforcement-service/service-lib/src/service.rs:2923-2937 | abuse-enforcement-service/service-lib/src/service.rs:3106-3121 \u2014 both copies are in the same file, so extract the block 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 \u0060abuse-enforcement-service/service-lib/src/service.rs:2923\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":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":2923}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ef8c5921f26ad600a6dc663cc6b0c7b8c1ea61aee79492eb4d60a84bf316ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): home-mixer/ads/least_movement_blender.rs:53-68 | home-mixer/ads/slot_spread_blender.rs:52-67 \u2014 before extracting anything, compare \u0060home-mixer/ads/least_movement_blender.rs\u0060 and \u0060home-mixer/ads/slot_spread_blender.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"home-mixer/ads/least_movement_blender.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af7429421345042634c9aff0f2265656f9d3d589f85e87ca2f877ef9d9f349f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs:693-708 | home-mixer/candidate_pipeline/reverse_chron_posts_pipeline.rs:79-94 \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 \u0060home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs:693\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":"home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec880ca8d0c16088bd76df156832b4653fc11137e001fa9a938288978ea2bbdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): home-mixer/util/urt/convo_marshaller.rs:97-112 | home-mixer/util/urt/push_to_home_marshaller.rs:73-88 \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 \u0060home-mixer/util/urt/convo_marshaller.rs:97\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":"home-mixer/util/urt/convo_marshaller.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd8df8dffbc56df63ec2b4af84ad126302f2a169240f9b44282d540df9ff90f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): phoenix/crates/serving/xai-recsys-mm-server/src/o2.rs:183-197 | phoenix/crates/serving/xai-recsys-mm-server/src/o2.rs:201-216 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-mm-server/src/o2.rs:201\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/o2.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e27f406299d332fedddbcdb86e1dfa6cfa0ea8e77ccd324fe6ca51228980ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): thunder/main.rs:67-82 | vm-ranker/main.rs:128-143 \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 \u0060thunder/main.rs:67\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/main.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"826af637914a254a24b108e957cf52ecce4a96283e3660ccbd35b20072cc5292"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): thunder/schema/user.rs:12810-12825 | thunder/schema/user.rs:13114-13129 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/user.rs"},"region":{"startLine":12810}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec2ecae5c49c2c0db20186f40b4ba7754f0932cce007a190bd68e443c240239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): vm-ranker/helpers.rs:73-88 | vm-ranker/helpers.rs:137-152 \u2014 both copies are in the same file, so extract the block 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 \u0060vm-ranker/helpers.rs:73\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":"vm-ranker/helpers.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08caa51e6ec0dc4bd4f51f3e50ab07760466e939aa3dbd2b72f48e6a31ee9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 11): thunder/schema/media_entity.rs:173-187 | thunder/schema/tweet.rs:1643-1657 | thunder/schema/tweet.rs:1762-1776 | thunder/schema/tweet.rs:2000-2014 | thunder/schema/tweet.rs:2080-2094 | thunder/schema/tweet.rs:2163-2177 | thunder/schema/tweet_media.rs:340-354 | thunder/schema/user.rs:11041-11055 | thunder/schema/user.rs:11234-11248 | thunder/schema/user.rs:11398-11412 | thunder/schema/user.rs:11542-11556 \u2014 before extracting anything, compare \u0060thunder/schema/media_entity.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 183 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 \u0060thunder/schema/media_entity.rs:173\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet.rs:1999\u0060 calls \u0060Some\u0060, \u0060to_owned\u0060 and \u0060thunder/schema/tweet_media.rs:339\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":"thunder/schema/media_entity.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"841a62049b188792ef0541a751de948ea5862415f65cf21ee33d6357ec280d76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:299-313 | thunder/schema/media_common.rs:419-433 | thunder/schema/tweet.rs:1664-1678 | thunder/schema/tweet.rs:2708-2722 | thunder/schema/user.rs:7901-7915 | thunder/schema/user.rs:10803-10817 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/media_common.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 139 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:299\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e23f678655ea4ee862f37b652ff1a5bf8cea34419abb05d9ce4f006ab45d8f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): thunder/schema/events.rs:4433-4447 | thunder/schema/tweet.rs:4793-4807 | thunder/schema/tweet.rs:5251-5265 | thunder/schema/tweet_events.rs:1405-1419 | thunder/schema/tweet_media.rs:878-892 | thunder/schema/user.rs:5355-5369 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:4433\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":4433}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6a3b9cc282b563e04fec40dbd850ec3e9eede7d9682f49bdbfbf913cb01e7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): thunder/schema/tweet.rs:4175-4189 | thunder/schema/tweet.rs:4263-4277 | thunder/schema/tweet.rs:4351-4365 | thunder/schema/tweet.rs:4439-4453 | thunder/schema/tweet.rs:4527-4541 | thunder/schema/tweet.rs:4615-4629 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/tweet.rs:4175\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":4175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2436ead2b971205adb2f7d152fca8a86850a86122a5fa2d08b1c9dde53c20a0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1677-1691 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:1729-1743 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2465-2479 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2501-2515 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:1677\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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1677}}}],"partialFingerprints":{"codehealthFindingId/v1":"15da4046dfd4cb82763826d61bdb3a81df22bac524c72336a231797a8e4f9be0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1778-1792 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:1808-1821 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:1849-1862 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:1890-1903 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:1778\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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1778}}}],"partialFingerprints":{"codehealthFindingId/v1":"2507b67c19910a76a4b89da86509de768e12a9290aa0457b81fc0afc1d32e70c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): thunder/schema/tweet.rs:2176-2190 | thunder/schema/tweet_media.rs:419-433 | thunder/schema/user.rs:3887-3901 | thunder/schema/user.rs:4628-4642 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_media.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 195 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 \u0060thunder/schema/tweet.rs:2176\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7a321a0639084a79d82c4076ac18a4fc671ec8d8972016fdf528bbb5c39d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): home-mixer/server.rs:386-400 | home-mixer/server.rs:548-562 | home-mixer/server.rs:651-665 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060home-mixer/server.rs:386\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060Request\u003Cpb::ForYouFeedQuery\u003E\u0060 in one and \u0060Request\u003Cpb::RankedFollowingFeedQuery\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/server.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"3673907d599f06c07eaf0443c0b18c7b25361ad6e9f3e35ca7f25a9995fdfea8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): thunder/schema/events.rs:1808-1822 | thunder/schema/events.rs:1905-1919 | thunder/schema/events.rs:1978-1992 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:1808\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":"thunder/schema/events.rs"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1eb2795141723003b2de94752e5e8b9ee209cb477ff7e34f948f031d28a1b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): phoenix-rankall/src/processor/metadata_processor.rs:38-52 | phoenix-rankall/src/processor/sid_tail_processor.rs:58-71 \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 \u0060phoenix-rankall/src/processor/metadata_processor.rs:38\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":"phoenix-rankall/src/processor/metadata_processor.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdce7f4b96fbbf6d1a268ad437f7459991860c7374811b97e326633ac206ad9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): phoenix-rankall/src/store/base.rs:973-986 | phoenix-rankall/src/store/base.rs:989-1003 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix-rankall/src/store/base.rs:989\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc8ed86cd7f1f123cff387c26ff69161cec9cff7d3e97ce6667c172db20368f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): phoenix-rankall/src/store/writer.rs:52-66 | phoenix-rankall/src/store/writer.rs:84-98 \u2014 both copies are in the same file, so extract the block 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":"phoenix-rankall/src/store/writer.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc68cf56560bf6a8546f9e9721b2deb16f22e636ef874fc7ec8a7b4ee13af74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:511-525 | phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:555-568 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:511\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:569\u0060 calls \u0060dense_entries\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:527\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":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8144b0fd8d088d5113b00b5e4f6b0472b22a256aa5d428613deb5cba49b036"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201315 lines \u00D7 4): thunder/schema/events.rs:644-658 | thunder/schema/events.rs:841-855 | thunder/schema/events.rs:3562-3565 | thunder/schema/events.rs:3733-3736 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:644\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b86dc56edc05d2cbc5d46d7ff81848be4f1fe71ca7e07ad4aa98182886d7d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): thunder/schema/tweet.rs:1672-1686 | thunder/schema/user.rs:11066-11080 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1672\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee306b9940998b43c19e435cd16dea4b34cb9ccf149235de96434c535be77576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): thunder/schema/tweet.rs:1791-1805 | thunder/schema/user.rs:11259-11273 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1791\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"1420b5b6ebb68bf56ad11682686b9bcf25dd6087eb922579e3c61ab8cf4e1ef3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): thunder/schema/tweet.rs:3143-3157 | thunder/schema/user.rs:4297-4311 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:3143\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":3143}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bdcf8ee392503cb6426db37c9540503834437d98310311536ffad651ebf32e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): thunder/schema/tweet.rs:3532-3546 | thunder/schema/tweet.rs:3936-3950 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/tweet.rs:3532\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":"thunder/schema/tweet.rs"},"region":{"startLine":3532}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe056ecf7dd09f93ba154cb1f530ae2562e90c6d545ff78de351010e7f021b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 18): thunder/schema/tweet.rs:3032-3044 | thunder/schema/user.rs:6136-6148 | thunder/schema/user.rs:6184-6196 | thunder/schema/user.rs:6204-6216 | thunder/schema/user.rs:6304-6316 | thunder/schema/user.rs:6336-6348 | thunder/schema/user.rs:6364-6376 | thunder/schema/user.rs:7105-7118 | thunder/schema/user.rs:7271-7284 | thunder/schema/user.rs:7597-7609 | thunder/schema/user.rs:7633-7645 | thunder/schema/user.rs:8346-8359 | thunder/schema/user.rs:9072-9085 | thunder/schema/user.rs:9111-9123 | thunder/schema/user.rs:10026-10039 | thunder/schema/user.rs:10353-10366 | thunder/schema/user.rs:12382-12395 | thunder/schema/user.rs:12568-12581 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:3032\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":"thunder/schema/tweet.rs"},"region":{"startLine":3032}}}],"partialFingerprints":{"codehealthFindingId/v1":"3501f7103a3fc6eed30b4bb1e74d38775a5445deba25100b4255967692664c66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): abuse-enforcement-service/service-lib/src/service.rs:2924-2937 | abuse-enforcement-service/service-lib/src/service.rs:3024-3037 | abuse-enforcement-service/service-lib/src/service.rs:3108-3121 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060abuse-enforcement-service/service-lib/src/service.rs:2924\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":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":2924}}}],"partialFingerprints":{"codehealthFindingId/v1":"21938199b602c2e52996ce155d6ea1e170a8b6038fd408fdd239343c2b57baa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): home-mixer/server.rs:443-456 | home-mixer/server.rs:606-619 | home-mixer/server.rs:709-722 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060home-mixer/server.rs:443\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060Request\u003Cpb::DebugForYouFeedQuery\u003E\u0060 in one and \u0060Request\u003Cpb::DebugRankedFollowingFeedQuery\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/server.rs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08af22f504a15ccb22486ba64f98cc390ac6a9ff2c2bf7038c65eea15cf32f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): thunder/schema/media_common.rs:518-531 | thunder/schema/user.rs:13071-13084 | thunder/schema/user.rs:13371-13384 \u2014 before extracting anything, compare \u0060thunder/schema/media_common.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 280 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 \u0060thunder/schema/media_common.rs:518\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":"thunder/schema/media_common.rs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcc88a6a780d73773dff04382c645d98db9cf8323b822f227402bd930de356a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): thunder/schema/tweet.rs:3132-3145 | thunder/schema/user.rs:11925-11938 | thunder/schema/user.rs:12005-12018 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:3132\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":"thunder/schema/tweet.rs"},"region":{"startLine":3132}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b623546b2d56a537c548a36e13ada0111692ff5c1f09a976414c0ddb13e5ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): thunder/schema/tweet_events.rs:140-153 | thunder/schema/tweet_events.rs:298-311 | thunder/schema/tweet_events.rs:413-426 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/tweet_events.rs:140\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":"thunder/schema/tweet_events.rs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5522816f1929573c3cf9dc51bcfae798c731a550290bd2b536c40c458031c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): abuse-enforcement-service/service-lib/src/service.rs:1961-1974 | abuse-enforcement-service/service-lib/src/service.rs:2068-2081 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060abuse-enforcement-service/service-lib/src/service.rs:1959\u0060 calls \u0060Json\u0060 and \u0060abuse-enforcement-service/service-lib/src/service.rs:2066\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":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1961}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae23764674f00c8621b77b5b53763bf87bf90cd135ef14d75205d0eed218a45f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): home-mixer/candidate_pipeline/following_candidate_pipeline.rs:122-135 | home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs:122-135 \u2014 before extracting anything, compare \u0060home-mixer/candidate_pipeline/following_candidate_pipeline.rs\u0060 and \u0060home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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":"home-mixer/candidate_pipeline/following_candidate_pipeline.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b38288d9a6517392651107015a1545cb5da5534e4fa0846ea315d9318c43812a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/checkpoint_store.rs:357-370 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:90-103 \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 \u0060phoenix/crates/serving/xai-recsys-engine/src/checkpoint_store.rs:357\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":"phoenix/crates/serving/xai-recsys-engine/src/checkpoint_store.rs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cabdd02922b44e28bbdc6892137c119201426d317df5bc2d8e6e16c04c6d7ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1556-1570 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1689-1703 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1556\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":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc369bda660f6118ea008bbc43e12331edfeb96539ae476f5e593be8a780841f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): phoenix/crates/serving/xai-recsys-mm-server/src/o2.rs:84-97 | thunder/o2/mod.rs:56-69 \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 \u0060phoenix/crates/serving/xai-recsys-mm-server/src/o2.rs:84\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/crates/serving/xai-recsys-mm-server/src/o2.rs:83\u0060 calls \u0060with_retry\u0060 and \u0060thunder/o2/mod.rs:55\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":"phoenix/crates/serving/xai-recsys-mm-server/src/o2.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb7f2fbbbfeaa87922351946f2d8c0229f7b0749ce9f31bd54d343c26a19027"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): thunder/schema/tweet.rs:3619-3632 | thunder/schema/tweet.rs:3749-3762 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/tweet.rs:3619\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":"thunder/schema/tweet.rs"},"region":{"startLine":3619}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df416f5d1a818790a2b373e2be7067821602334e1aea8bf907c16b88ed86b2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): thunder/schema/user.rs:7321-7334 | thunder/schema/user.rs:7582-7594 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:7321\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":7321}}}],"partialFingerprints":{"codehealthFindingId/v1":"928b86f059a2ae117937715d1d10cbed6f57a7f96849cd6cb29630cf0b67aac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): thunder/schema/user.rs:9891-9904 | thunder/schema/user.rs:10697-10710 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:9891\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":"thunder/schema/user.rs"},"region":{"startLine":9891}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c7eca5393e59e71489b3b832ba0b70dc8ba35c5bdef96b6d6b4fc6b1502c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 50): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:103-115 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:450-462 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:612-624 | thunder/schema/events.rs:218-230 | thunder/schema/events.rs:298-310 | thunder/schema/events.rs:385-397 | thunder/schema/events.rs:465-477 | thunder/schema/events.rs:545-557 | thunder/schema/events.rs:652-664 | thunder/schema/events.rs:849-861 | thunder/schema/events.rs:1028-1040 | thunder/schema/events.rs:1311-1323 | thunder/schema/events.rs:1388-1400 | thunder/schema/events.rs:1455-1467 | thunder/schema/events.rs:1564-1576 | thunder/schema/events.rs:2076-2088 | thunder/schema/events.rs:2179-2191 | thunder/schema/events.rs:2272-2284 | thunder/schema/events.rs:2365-2377 | thunder/schema/events.rs:2458-2470 | thunder/schema/events.rs:2545-2557 | thunder/schema/events.rs:2708-2720 | thunder/schema/events.rs:2785-2797 | thunder/schema/events.rs:2855-2867 | thunder/schema/events.rs:2940-2952 | thunder/schema/events.rs:3035-3047 | thunder/schema/events.rs:3112-3124 | thunder/schema/events.rs:3189-3201 | thunder/schema/events.rs:3266-3278 | thunder/schema/events.rs:3455-3467 | thunder/schema/events.rs:3571-3583 | thunder/schema/events.rs:3742-3754 | thunder/schema/media_common.rs:396-408 | thunder/schema/tweet.rs:631-643 | thunder/schema/tweet.rs:768-780 | thunder/schema/tweet.rs:925-937 | thunder/schema/tweet.rs:2880-2892 | thunder/schema/tweet.rs:3611-3623 | thunder/schema/tweet_events.rs:540-552 | thunder/schema/tweet_events.rs:607-619 | thunder/schema/tweet_events.rs:677-689 | thunder/schema/tweet_events.rs:926-938 | thunder/schema/tweet_events.rs:1029-1041 | thunder/schema/tweet_events.rs:1122-1134 | thunder/schema/tweet_events.rs:1218-1230 | thunder/schema/user.rs:9693-9705 | thunder/schema/user.rs:12712-12724 | thunder/schema/user.rs:12979-12991 | thunder/schema/user.rs:13637-13649 | thunder/schema/user.rs:14317-14329 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:103\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet_events.rs:674\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/events.rs:215\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"908a3e756840cdb2aeb50fd77391795f4fd89e745771535d8dc65246a4f1e824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 48): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:110-122 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:303-315 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:619-631 | thunder/schema/events.rs:229-241 | thunder/schema/events.rs:396-408 | thunder/schema/events.rs:476-488 | thunder/schema/events.rs:556-568 | thunder/schema/events.rs:1051-1063 | thunder/schema/events.rs:1322-1334 | thunder/schema/events.rs:1395-1407 | thunder/schema/events.rs:1462-1474 | thunder/schema/events.rs:1914-1926 | thunder/schema/events.rs:2194-2206 | thunder/schema/events.rs:2473-2485 | thunder/schema/events.rs:2552-2564 | thunder/schema/events.rs:2719-2731 | thunder/schema/events.rs:2792-2804 | thunder/schema/events.rs:2959-2971 | thunder/schema/events.rs:3046-3058 | thunder/schema/events.rs:3123-3135 | thunder/schema/events.rs:3200-3212 | thunder/schema/events.rs:3277-3289 | thunder/schema/events.rs:3610-3622 | thunder/schema/events.rs:3781-3793 | thunder/schema/media_common.rs:254-266 | thunder/schema/media_common.rs:423-435 | thunder/schema/tweet.rs:638-650 | thunder/schema/tweet.rs:779-791 | thunder/schema/tweet.rs:932-944 | thunder/schema/tweet.rs:1668-1680 | thunder/schema/tweet.rs:2598-2610 | thunder/schema/tweet.rs:2712-2724 | thunder/schema/tweet.rs:2907-2919 | thunder/schema/tweet.rs:3634-3646 | thunder/schema/tweet.rs:3760-3772 | thunder/schema/tweet_events.rs:444-456 | thunder/schema/tweet_events.rs:547-559 | thunder/schema/tweet_events.rs:614-626 | thunder/schema/tweet_events.rs:771-783 | thunder/schema/tweet_events.rs:851-863 | thunder/schema/tweet_events.rs:947-959 | thunder/schema/tweet_events.rs:1137-1149 | thunder/schema/user.rs:3964-3976 | thunder/schema/user.rs:5730-5742 | thunder/schema/user.rs:6395-6407 | thunder/schema/user.rs:7905-7917 | thunder/schema/user.rs:9752-9764 | thunder/schema/user.rs:10807-10819 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:110\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060thunder/schema/events.rs:1066\u0060 calls \u0060verify_required_field_exists\u0060 and \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:125\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b986186aea60565fb1e0b33fc7a62f4c1ff3d1b4290ae9f8598175db2d5d4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 29): thunder/schema/events.rs:1995-2007 | thunder/schema/events.rs:2095-2107 | thunder/schema/events.rs:2287-2299 | thunder/schema/events.rs:2380-2392 | thunder/schema/tweet.rs:1080-1092 | thunder/schema/tweet.rs:1173-1185 | thunder/schema/tweet.rs:1787-1799 | thunder/schema/tweet.rs:3039-3051 | thunder/schema/tweet.rs:4105-4117 | thunder/schema/tweet.rs:4184-4196 | thunder/schema/tweet.rs:4272-4284 | thunder/schema/tweet.rs:4360-4372 | thunder/schema/tweet.rs:4448-4460 | thunder/schema/tweet.rs:4536-4548 | thunder/schema/tweet.rs:4624-4636 | thunder/schema/tweet_events.rs:182-194 | thunder/schema/tweet_events.rs:317-329 | thunder/schema/tweet_events.rs:1044-1056 | thunder/schema/user.rs:4705-4717 | thunder/schema/user.rs:4779-4791 | thunder/schema/user.rs:7349-7361 | thunder/schema/user.rs:8384-8396 | thunder/schema/user.rs:8618-8630 | thunder/schema/user.rs:8784-8796 | thunder/schema/user.rs:8851-8863 | thunder/schema/user.rs:10056-10068 | thunder/schema/user.rs:10219-10231 | thunder/schema/user.rs:10447-10459 | thunder/schema/user.rs:12396-12408 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:1995\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060thunder/schema/tweet.rs:4198\u0060 calls \u0060verify_required_field_exists\u0060 and \u0060thunder/schema/tweet.rs:4119\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2ad24318810ce1eb134b228f2538ea0942c10a2307d9461f10cf0ffee45595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 24): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:788-800 | thunder/schema/events.rs:2866-2878 | thunder/schema/tweet.rs:705-717 | thunder/schema/tweet.rs:859-871 | thunder/schema/tweet.rs:999-1011 | thunder/schema/tweet.rs:2013-2025 | thunder/schema/tweet.rs:2093-2105 | thunder/schema/tweet.rs:2273-2285 | thunder/schema/tweet.rs:2393-2405 | thunder/schema/tweet.rs:3863-3875 | thunder/schema/tweet_media.rs:496-508 | thunder/schema/user.rs:3362-3374 | thunder/schema/user.rs:4851-4863 | thunder/schema/user.rs:5868-5880 | thunder/schema/user.rs:11062-11074 | thunder/schema/user.rs:11255-11267 | thunder/schema/user.rs:11411-11423 | thunder/schema/user.rs:11555-11567 | thunder/schema/user.rs:11713-11725 | thunder/schema/user.rs:11936-11948 | thunder/schema/user.rs:12016-12028 | thunder/schema/user.rs:13660-13672 | thunder/schema/user.rs:14036-14048 | thunder/schema/user.rs:14134-14146 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:788\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060thunder/schema/user.rs:5882\u0060 calls \u0060verify_required_field_exists\u0060 and \u0060thunder/schema/events.rs:2880\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87707650f2104211a032eabee712739df34feb2c405a2715636fc8ab51e474a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 13): thunder/schema/user.rs:4698-4710 | thunder/schema/user.rs:7004-7016 | thunder/schema/user.rs:7100-7112 | thunder/schema/user.rs:7266-7278 | thunder/schema/user.rs:8341-8353 | thunder/schema/user.rs:8777-8789 | thunder/schema/user.rs:8844-8856 | thunder/schema/user.rs:9067-9079 | thunder/schema/user.rs:10021-10033 | thunder/schema/user.rs:10212-10224 | thunder/schema/user.rs:10348-10360 | thunder/schema/user.rs:12377-12389 | thunder/schema/user.rs:12563-12575 \u2014 all 13 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:4698\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":"thunder/schema/user.rs"},"region":{"startLine":4698}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f47b7b2c5b8babf36d1a80cd06c1890c8c383953e28b3e38fadaafc5c2e29fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 12): phoenix-rankall/src/processor/gen/scored_candidate.rs:316-328 | thunder/schema/events.rs:4044-4056 | thunder/schema/tweet.rs:1866-1878 | thunder/schema/tweet.rs:1930-1942 | thunder/schema/tweet.rs:3848-3860 | thunder/schema/tweet.rs:4165-4177 | thunder/schema/tweet.rs:4253-4265 | thunder/schema/tweet.rs:4341-4353 | thunder/schema/tweet.rs:4429-4441 | thunder/schema/tweet.rs:4517-4529 | thunder/schema/tweet.rs:4605-4617 | thunder/schema/tweet.rs:5175-5187 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs:316\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":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"570a3c871c467477c373f4dfec15226a033645a98107316364b55ea2cfc54b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 11): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:248-260 | thunder/schema/events.rs:2618-2630 | thunder/schema/tweet.rs:698-710 | thunder/schema/tweet.rs:992-1004 | thunder/schema/tweet.rs:2382-2394 | thunder/schema/tweet.rs:2685-2697 | thunder/schema/tweet.rs:3733-3745 | thunder/schema/user.rs:3278-3290 | thunder/schema/user.rs:5861-5873 | thunder/schema/user.rs:10792-10804 | thunder/schema/user.rs:12231-12243 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:248\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":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5997544fd25dcb4885c860ee6cc4eb2caa6799e0adbe9b9ddef182051059f1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 11): thunder/schema/tweet.rs:848-860 | thunder/schema/tweet.rs:1158-1170 | thunder/schema/tweet_media.rs:412-424 | thunder/schema/tweet_media.rs:489-501 | thunder/schema/user.rs:3355-3367 | thunder/schema/user.rs:3880-3892 | thunder/schema/user.rs:4033-4045 | thunder/schema/user.rs:4401-4413 | thunder/schema/user.rs:4621-4633 | thunder/schema/user.rs:4844-4856 | thunder/schema/user.rs:14123-14135 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_media.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 195 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 \u0060thunder/schema/tweet.rs:848\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/user.rs:3877\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/tweet.rs:845\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"937ec43f56d3323d69cc8910faac0cadb97fb18c610b52366568d32dfa48b38a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 9): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:482-494 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:765-777 | thunder/schema/media_entity.rs:199-211 | thunder/schema/tweet.rs:1661-1673 | thunder/schema/tweet.rs:2705-2717 | thunder/schema/tweet.rs:3741-3753 | thunder/schema/user.rs:10800-10812 | thunder/schema/user.rs:12995-13007 | thunder/schema/user.rs:13035-13047 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/media_entity.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:482\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":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad17097e74dc4d11b61c3fe404975825ebb6d8dd578b4bdd506aceecd578aede"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 9): thunder/schema/tweet.rs:2180-2192 | thunder/schema/tweet.rs:3541-3553 | thunder/schema/tweet_media.rs:264-276 | thunder/schema/tweet_media.rs:423-435 | thunder/schema/user.rs:3891-3903 | thunder/schema/user.rs:4632-4644 | thunder/schema/user.rs:7019-7031 | thunder/schema/user.rs:12586-12598 | thunder/schema/user.rs:13920-13932 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_media.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 195 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 \u0060thunder/schema/tweet.rs:2180\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060thunder/schema/user.rs:13935\u0060 calls \u0060verify_required_field_exists\u0060 and \u0060thunder/schema/tweet.rs:3556\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":2180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab7b1d8fa22f8caaed157a1fac495b1c7daeeb54aafdc73a1ef9e83bf16564f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): thunder/schema/events.rs:314-326 | thunder/schema/events.rs:4054-4066 | thunder/schema/tweet.rs:1876-1888 | thunder/schema/tweet.rs:1940-1952 | thunder/schema/tweet.rs:5185-5197 | thunder/schema/user.rs:3790-3802 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:314\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":"thunder/schema/events.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"899bd73ee4193a1895464ab2b2b4620cc9131a3f0a21e4a2202022f715d3c6b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): thunder/schema/events.rs:688-700 | thunder/schema/events.rs:885-897 | thunder/schema/events.rs:1044-1056 | thunder/schema/events.rs:1612-1624 | thunder/schema/media_entity.rs:229-241 | thunder/schema/user.rs:9143-9155 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/media_entity.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 66 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 \u0060thunder/schema/events.rs:688\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":"thunder/schema/events.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"52cab9827437c860c6ef1acad347e30ae1ce5d852259dcfb636dd9f87e694d68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): thunder/schema/events.rs:1040-1052 | thunder/schema/events.rs:2466-2478 | thunder/schema/events.rs:2952-2964 | thunder/schema/user.rs:9139-9151 | thunder/schema/user.rs:9199-9211 | thunder/schema/user.rs:9247-9259 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 49 separate duplicated blocks between them, totalling at least 510 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 \u0060thunder/schema/events.rs:1040\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":"thunder/schema/events.rs"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4b3e94de03feb5f13def9bf580624fb481237057fc942fe036153fab8a999d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:486-498 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:769-781 | thunder/schema/user.rs:12239-12251 | thunder/schema/user.rs:12999-13011 | thunder/schema/user.rs:13039-13051 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:486\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":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb27f885e04fc3cdd65edc2b78237de8964819b55d364cd46f4d30b676987ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): home-mixer/clients/prompts_client.rs:108-120 | home-mixer/clients/simclusters_ann_client.rs:111-123 | home-mixer/clients/who_to_follow_client.rs:105-117 \u2014 before extracting anything, compare \u0060home-mixer/clients/prompts_client.rs\u0060 and \u0060home-mixer/clients/simclusters_ann_client.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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 \u0060home-mixer/clients/prompts_client.rs:108\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":"home-mixer/clients/prompts_client.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea074cdbb43eebe8ab1d5d737e46f6f5aa08cfa36365131d728fe70eb6fd5664"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): phoenix-rankall/src/processor/gen/hydra.rs:215-227 | phoenix-rankall/src/processor/gen/scored_candidate.rs:94-106 | phoenix-rankall/src/processor/gen/scored_candidate.rs:333-345 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 117 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 \u0060phoenix-rankall/src/processor/gen/hydra.rs:215\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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdca5f65c90f5ad010e3083e7ce3d48702443ee860aad0b3700305ac01ac1ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:466-478 | thunder/schema/user.rs:13031-13043 | thunder/schema/user.rs:14029-14041 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:466\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"4884f741523b1e7e99445ffd145f3d8c02848c31c7693bb7c62f11355d6519e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): thunder/schema/events.rs:2135-2147 | thunder/schema/events.rs:2321-2333 | thunder/schema/events.rs:2414-2426 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:2135\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":"thunder/schema/events.rs"},"region":{"startLine":2135}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ff3a4181dfc993cd1051d452e91c26ef729863aac307504e1bc48d2ca8039c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): thunder/schema/media_common.rs:412-424 | thunder/schema/tweet.rs:1776-1788 | thunder/schema/user.rs:11248-11260 \u2014 before extracting anything, compare \u0060thunder/schema/media_common.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 235 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 \u0060thunder/schema/media_common.rs:412\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":"thunder/schema/media_common.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"14157bba6a8fa0d7a2da30793621b02ef0e7d557576929ce35e4bbbeb2b067cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): thunder/schema/tweet.rs:2806-2818 | thunder/schema/tweet_events.rs:693-705 | thunder/schema/tweet_events.rs:1242-1254 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:2806\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":"thunder/schema/tweet.rs"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"6247ab7d96041b63eec9a4528cac1668752d2ee3218705e7d6ed78a71e609e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): thunder/schema/tweet.rs:3024-3036 | thunder/schema/tweet_events.rs:310-322 | thunder/schema/user.rs:9203-9215 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:3024\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":"thunder/schema/tweet.rs"},"region":{"startLine":3024}}}],"partialFingerprints":{"codehealthFindingId/v1":"3476a64f3095d1c00aa384ba9496741995615e66768f553f410ce3b67358e841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): thunder/schema/user.rs:3957-3969 | thunder/schema/user.rs:4136-4148 | thunder/schema/user.rs:7977-7989 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:3957\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":"thunder/schema/user.rs"},"region":{"startLine":3957}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f1d458813dce8460da2ca45089e0384a8ac3d13041766816b52c095a2bcaa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): thunder/schema/user.rs:6169-6181 | thunder/schema/user.rs:7009-7021 | thunder/schema/user.rs:12576-12588 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:6169\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":"thunder/schema/user.rs"},"region":{"startLine":6169}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc03eecde265594f5a86b78738941a8363a8a9d759c622c8765bfc5a2366fe8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): thunder/schema/user.rs:6180-6192 | thunder/schema/user.rs:6200-6212 | thunder/schema/user.rs:9179-9191 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:6180\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":"thunder/schema/user.rs"},"region":{"startLine":6180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcbb67db7b0dc30778619aa94b9036fd9111cdd77acf6096a41bbb11510de62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): thunder/schema/user.rs:6236-6248 | thunder/schema/user.rs:11706-11718 | thunder/schema/user.rs:12736-12748 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:6236\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":"thunder/schema/user.rs"},"region":{"startLine":6236}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bace4a14c8b8ff2293c6f94ec4b723f7f7ecaaf2b46dc479c446e9aae92819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): thunder/schema/user.rs:7012-7024 | thunder/schema/user.rs:12579-12591 | thunder/schema/user.rs:14021-14033 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:7012\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":"thunder/schema/user.rs"},"region":{"startLine":7012}}}],"partialFingerprints":{"codehealthFindingId/v1":"b895a76017103bda5628f1a5557947182ede97684d967e5aabc1a19a80bd2471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): abuse-enforcement-service/service-lib/src/lib.rs:544-555 | abuse-enforcement-service/service-lib/src/lib.rs:569-581 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060abuse-enforcement-service/service-lib/src/lib.rs:544\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":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd35e7dd56cffead805e2bfe979f99dc1940f961309ef93cb24c1b8adf27c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): home-mixer/ads/partition_organic_blender.rs:103-115 | home-mixer/ads/time_gap_blender.rs:117-129 \u2014 before extracting anything, compare \u0060home-mixer/ads/partition_organic_blender.rs\u0060 and \u0060home-mixer/ads/time_gap_blender.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 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 \u0060home-mixer/ads/partition_organic_blender.rs:103\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":"home-mixer/ads/partition_organic_blender.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"870af41558d7c8fdadcd2c75ca7a340d47f49bb558e187809e274fca998a9d49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): home-mixer/dark_traffic_setup.rs:55-67 | visibility-filtering/dark_traffic_setup.rs:205-215 \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 \u0060home-mixer/dark_traffic_setup.rs:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/dark_traffic_setup.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bfa5335dad6bd5b73fb3542454fe2025af87f148ce3b00b9b25430dc1789d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix-rankall/src/processor/gen/hydra.rs:523-535 | phoenix-rankall/src/processor/gen/scored_candidate.rs:343-355 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 117 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 \u0060phoenix-rankall/src/processor/gen/hydra.rs:523\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a56220dbcf766db7612b418c90db86302d7097f03a868dc5ce402d6c50ae94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix/crates/common/xai-recsys/src/util.rs:1358-1370 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:167-179 \u2014 before extracting anything, compare \u0060phoenix/crates/common/xai-recsys/src/util.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/util.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/crates/common/xai-recsys/src/util.rs:1356\u0060 calls \u0060snowflake_to_creation_ts_sec\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/util.rs:165\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":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb696f8922582d8f6add766acf650ed8b3ed9dafbb7096a06bb686e38f7bba3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:359-372 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:573-586 \u2014 both copies are in the same file, so extract the block 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":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc7d425c47ba410f907d208d8489aa7a93f7b062d3aab60b607bec2334d991d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1732-1744 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1808-1820 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1732\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"132f849a709c23eb123847385194d2a03f2ad37a07006da4d5d368174190d93e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/util.rs:185-197 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:417-429 \u2014 both copies are in the same file, so extract the block 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":"phoenix/crates/serving/xai-recsys-engine/src/util.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1613512dbefd86788b5f997d4695db5168707e6ad403180b2aae3ee582bb44e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:269-281 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:726-738 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:269\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"1285e5094c91667a49f99c8388e120f8c81c08c42aa254582db6d968a0f00312"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): thunder/schema/events.rs:1587-1599 | thunder/schema/tweet_events.rs:937-949 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 328 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 \u0060thunder/schema/events.rs:1587\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"d125ecb559f77cdd18a83bf2699b7812838fd4b288caf64744b61b45bdfce239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): thunder/schema/tweet.rs:2796-2808 | thunder/schema/tweet_events.rs:1583-1595 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:2796\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet_events.rs:1580\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/tweet.rs:2795\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":2796}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5ca7943705f5378c9d0ecc30eec4f66b80d2e49966c1ba0b3490fb0c958183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): thunder/schema/tweet.rs:3012-3024 | thunder/schema/tweet.rs:4098-4110 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/tweet.rs:3012\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":"thunder/schema/tweet.rs"},"region":{"startLine":3012}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7123c11364bb6bb3850046cfc097a14f6dccff5da9e59f327c9686aa181ae21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): thunder/schema/tweet.rs:3020-3032 | thunder/schema/user.rs:9183-9195 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:3020\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":"thunder/schema/tweet.rs"},"region":{"startLine":3020}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5dbb034b6c0ecabf12e157bd7bd278c20a28963116f9ac19772cfaa0c26fbf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): thunder/schema/tweet.rs:5413-5425 | thunder/schema/user.rs:4468-4480 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:5413\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":5413}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd2344b74e4ff76c5a25f0d15c4662ed58f8a7282e9cd9bacc864e792fb0bfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): thunder/schema/tweet_events.rs:1076-1087 | thunder/schema/user.rs:9378-9390 \u2014 before extracting anything, compare \u0060thunder/schema/tweet_events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 353 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 \u0060thunder/schema/tweet_events.rs:1076\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":"thunder/schema/tweet_events.rs"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d1b1b9b166dbc60015307973a00a09e51df25eebf0b44a94670abd7adcdc90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): thunder/schema/tweet_media.rs:349-361 | thunder/schema/user.rs:7831-7843 \u2014 before extracting anything, compare \u0060thunder/schema/tweet_media.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 172 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 \u0060thunder/schema/tweet_media.rs:349\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet_media.rs"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc67bfcb0721ce9243ed72febf25daaa2d584fe6636522e11617ad519bb88d18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): thunder/schema/user.rs:3289-3301 | thunder/schema/user.rs:4151-4163 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:3289\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":3289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72bfc7a0674dcb3fb450b2252af2748571cd93159ed085450d15476c6879269"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): thunder/schema/user.rs:4290-4302 | thunder/schema/user.rs:13351-13363 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:4290\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":"thunder/schema/user.rs"},"region":{"startLine":4290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ea6a9b7a9a27be67ef695da924c8d7485be658ddfb2e5e12f345950eee2b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): thunder/schema/user.rs:7341-7353 | thunder/schema/user.rs:7628-7640 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:7341\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":7341}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9305435715de0983af4df1c0840af04a4584db4896f92886dc9d80a954a24a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 68): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:101-112 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:246-257 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:448-459 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:610-621 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:717-728 | thunder/schema/events.rs:216-227 | thunder/schema/events.rs:296-307 | thunder/schema/events.rs:383-394 | thunder/schema/events.rs:463-474 | thunder/schema/events.rs:543-554 | thunder/schema/events.rs:650-661 | thunder/schema/events.rs:847-858 | thunder/schema/events.rs:1026-1037 | thunder/schema/events.rs:1309-1320 | thunder/schema/events.rs:1386-1397 | thunder/schema/events.rs:1453-1464 | thunder/schema/events.rs:1562-1573 | thunder/schema/events.rs:2074-2085 | thunder/schema/events.rs:2177-2188 | thunder/schema/events.rs:2270-2281 | thunder/schema/events.rs:2363-2374 | thunder/schema/events.rs:2456-2467 | thunder/schema/events.rs:2543-2554 | thunder/schema/events.rs:2616-2627 | thunder/schema/events.rs:2706-2717 | thunder/schema/events.rs:2783-2794 | thunder/schema/events.rs:2853-2864 | thunder/schema/events.rs:2938-2949 | thunder/schema/events.rs:3033-3044 | thunder/schema/events.rs:3110-3121 | thunder/schema/events.rs:3187-3198 | thunder/schema/events.rs:3264-3275 | thunder/schema/events.rs:3453-3464 | thunder/schema/events.rs:3569-3580 | thunder/schema/events.rs:3740-3751 | thunder/schema/media_common.rs:394-405 | thunder/schema/tweet.rs:629-640 | thunder/schema/tweet.rs:696-707 | thunder/schema/tweet.rs:766-777 | thunder/schema/tweet.rs:923-934 | thunder/schema/tweet.rs:990-1001 | thunder/schema/tweet.rs:2380-2391 | thunder/schema/tweet.rs:2683-2694 | thunder/schema/tweet.rs:2878-2889 | thunder/schema/tweet.rs:3010-3021 | thunder/schema/tweet.rs:3609-3620 | thunder/schema/tweet.rs:3731-3742 | thunder/schema/tweet.rs:4096-4107 | thunder/schema/tweet.rs:5050-5061 | thunder/schema/tweet.rs:5386-5397 | thunder/schema/tweet_events.rs:538-549 | thunder/schema/tweet_events.rs:605-616 | thunder/schema/tweet_events.rs:675-686 | thunder/schema/tweet_events.rs:924-935 | thunder/schema/tweet_events.rs:1027-1038 | thunder/schema/tweet_events.rs:1120-1131 | thunder/schema/tweet_events.rs:1216-1227 | thunder/schema/user.rs:3276-3287 | thunder/schema/user.rs:5859-5870 | thunder/schema/user.rs:7822-7833 | thunder/schema/user.rs:9691-9702 | thunder/schema/user.rs:10790-10801 | thunder/schema/user.rs:11692-11703 | thunder/schema/user.rs:12229-12240 | thunder/schema/user.rs:12710-12721 | thunder/schema/user.rs:12977-12988 | thunder/schema/user.rs:13635-13646 | thunder/schema/user.rs:14315-14326 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:101\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet.rs:2377\u0060 calls \u0060Some\u0060 and \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:98\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"022da4618d507b00ec8b51b4240ffd71bc4a44aee2d4ed61c2fc31d697c4b63e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 32): thunder/schema/events.rs:223-234 | thunder/schema/events.rs:390-401 | thunder/schema/events.rs:470-481 | thunder/schema/events.rs:550-561 | thunder/schema/events.rs:657-668 | thunder/schema/events.rs:854-865 | thunder/schema/events.rs:1033-1044 | thunder/schema/events.rs:1316-1327 | thunder/schema/events.rs:1569-1580 | thunder/schema/events.rs:2081-2092 | thunder/schema/events.rs:2184-2195 | thunder/schema/events.rs:2277-2288 | thunder/schema/events.rs:2370-2381 | thunder/schema/events.rs:2713-2724 | thunder/schema/events.rs:2945-2956 | thunder/schema/events.rs:3040-3051 | thunder/schema/events.rs:3117-3128 | thunder/schema/events.rs:3194-3205 | thunder/schema/events.rs:3271-3282 | thunder/schema/events.rs:3460-3471 | thunder/schema/events.rs:3576-3587 | thunder/schema/events.rs:3747-3758 | thunder/schema/media_common.rs:401-412 | thunder/schema/tweet.rs:773-784 | thunder/schema/tweet.rs:2885-2896 | thunder/schema/tweet_events.rs:1127-1138 | thunder/schema/tweet_events.rs:1223-1234 | thunder/schema/user.rs:8516-8527 | thunder/schema/user.rs:9698-9709 | thunder/schema/user.rs:12244-12255 | thunder/schema/user.rs:13642-13653 | thunder/schema/user.rs:14322-14333 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/media_common.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 150 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":"thunder/schema/events.rs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"1595a252cb22b1042028f205269b3f0cedb0d379ef90925d7646d8e70ef226a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 22): thunder/schema/media_common.rs:312-323 | thunder/schema/tweet.rs:846-857 | thunder/schema/tweet.rs:1156-1167 | thunder/schema/tweet.rs:1432-1443 | thunder/schema/tweet.rs:3130-3141 | thunder/schema/tweet_media.rs:410-421 | thunder/schema/tweet_media.rs:487-498 | thunder/schema/tweet_media.rs:775-786 | thunder/schema/user.rs:3353-3364 | thunder/schema/user.rs:3878-3889 | thunder/schema/user.rs:4031-4042 | thunder/schema/user.rs:4288-4299 | thunder/schema/user.rs:4399-4410 | thunder/schema/user.rs:4619-4630 | thunder/schema/user.rs:4842-4853 | thunder/schema/user.rs:6122-6133 | thunder/schema/user.rs:11853-11864 | thunder/schema/user.rs:11923-11934 | thunder/schema/user.rs:12003-12014 | thunder/schema/user.rs:13349-13360 | thunder/schema/user.rs:13895-13906 | thunder/schema/user.rs:14121-14132 \u2014 before extracting anything, compare \u0060thunder/schema/media_common.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 235 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 \u0060thunder/schema/media_common.rs:312\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet.rs:1155\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/media_common.rs:311\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/media_common.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd4a7b8c2cde9417e620b82c4322c6511f87116f37947dde2195297007d05ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 18): thunder/schema/user.rs:3955-3966 | thunder/schema/user.rs:4134-4145 | thunder/schema/user.rs:4696-4707 | thunder/schema/user.rs:6909-6920 | thunder/schema/user.rs:7002-7013 | thunder/schema/user.rs:7098-7109 | thunder/schema/user.rs:7264-7275 | thunder/schema/user.rs:7892-7903 | thunder/schema/user.rs:7975-7986 | thunder/schema/user.rs:8339-8350 | thunder/schema/user.rs:8775-8786 | thunder/schema/user.rs:8842-8853 | thunder/schema/user.rs:9065-9076 | thunder/schema/user.rs:10019-10030 | thunder/schema/user.rs:10210-10221 | thunder/schema/user.rs:10346-10357 | thunder/schema/user.rs:12375-12386 | thunder/schema/user.rs:12561-12572 \u2014 all 18 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:3955\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/user.rs:7973\u0060 calls \u0060Some\u0060, \u0060to_owned\u0060 and \u0060thunder/schema/user.rs:3953\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":3955}}}],"partialFingerprints":{"codehealthFindingId/v1":"2556cbaea29b433c5d8db53968ea1af943c017ed2c492cf69844f7002cf04918"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 17): thunder/schema/events.rs:4056-4067 | thunder/schema/tweet.rs:1878-1889 | thunder/schema/tweet.rs:1942-1953 | thunder/schema/tweet.rs:2466-2477 | thunder/schema/tweet.rs:2808-2819 | thunder/schema/tweet_events.rs:695-706 | thunder/schema/tweet_events.rs:1244-1255 | thunder/schema/user.rs:3792-3803 | thunder/schema/user.rs:10719-10730 | thunder/schema/user.rs:10886-10897 | thunder/schema/user.rs:11160-11171 | thunder/schema/user.rs:11340-11351 | thunder/schema/user.rs:11484-11495 | thunder/schema/user.rs:11628-11639 | thunder/schema/user.rs:11798-11809 | thunder/schema/user.rs:13278-13289 | thunder/schema/user.rs:13764-13775 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:4056\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":4056}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6ed788599df76becd5d75483f1ddca52fa382428d8cd03b56e6437df2609ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 14): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:471-482 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:750-761 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:782-793 | thunder/schema/media_entity.rs:188-199 | thunder/schema/tweet.rs:853-864 | thunder/schema/tweet.rs:1658-1669 | thunder/schema/tweet.rs:2694-2705 | thunder/schema/user.rs:4038-4049 | thunder/schema/user.rs:4422-4433 | thunder/schema/user.rs:11056-11067 | thunder/schema/user.rs:12741-12752 | thunder/schema/user.rs:13052-13063 | thunder/schema/user.rs:13654-13665 | thunder/schema/user.rs:14128-14139 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/media_entity.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d302a226afb88551d72305e60ddcc45bb774ff8962bb7a7afb1ddf0bff54458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 12): thunder/schema/tweet.rs:2466-2477 | thunder/schema/tweet.rs:3444-3455 | thunder/schema/tweet.rs:5124-5135 | thunder/schema/user.rs:10719-10730 | thunder/schema/user.rs:10886-10897 | thunder/schema/user.rs:11160-11171 | thunder/schema/user.rs:11340-11351 | thunder/schema/user.rs:11484-11495 | thunder/schema/user.rs:11628-11639 | thunder/schema/user.rs:11798-11809 | thunder/schema/user.rs:13278-13289 | thunder/schema/user.rs:13764-13775 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:2466\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"1baeddb8fe11babcef4c27193c817573d056be5e846ffe9395813b07a3910cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 9): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:746-757 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:778-789 | thunder/schema/tweet.rs:2267-2278 | thunder/schema/tweet.rs:2387-2398 | thunder/schema/tweet.rs:2690-2701 | thunder/schema/tweet.rs:3738-3749 | thunder/schema/user.rs:10797-10808 | thunder/schema/user.rs:13048-13059 | thunder/schema/user.rs:13650-13661 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9a7c81fba11937290c4194c33898b5b7702b61cf0b83c696bea4deac7a26e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 9): thunder/schema/events.rs:316-327 | thunder/schema/events.rs:4056-4067 | thunder/schema/tweet.rs:1878-1889 | thunder/schema/tweet.rs:1942-1953 | thunder/schema/tweet.rs:2808-2819 | thunder/schema/tweet.rs:5187-5198 | thunder/schema/tweet_events.rs:695-706 | thunder/schema/tweet_events.rs:1244-1255 | thunder/schema/user.rs:3792-3803 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:316\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060thunder/schema/events.rs:329\u0060 calls \u0060verify_required_field_exists\u0060 and \u0060thunder/schema/tweet.rs:5200\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6119d44f35d65adb0ba0de34035e8db575bb4c26c2138e491f7874eaf8f084"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): thunder/schema/events.rs:1037-1048 | thunder/schema/events.rs:2089-2100 | thunder/schema/events.rs:2281-2292 | thunder/schema/events.rs:2374-2385 | thunder/schema/events.rs:2463-2474 | thunder/schema/events.rs:2949-2960 | thunder/schema/tweet_events.rs:1034-1045 | thunder/schema/user.rs:12729-12740 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 328 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":"thunder/schema/events.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae37da813af4280eb7ef13e82b345c0d33f079fc9d1331cc279ca9274bb5069"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:455-466 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:774-785 | thunder/schema/events.rs:2860-2871 | thunder/schema/media_common.rs:405-416 | thunder/schema/user.rs:8082-8093 | thunder/schema/user.rs:13044-13055 | thunder/schema/user.rs:13646-13657 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cee7a1459b891986aa9da3e265e3345dd734b7657bad573498c3635e2d29f7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): thunder/schema/media_common.rs:521-532 | thunder/schema/user.rs:5803-5814 | thunder/schema/user.rs:7127-7138 | thunder/schema/user.rs:10965-10976 | thunder/schema/user.rs:13074-13085 | thunder/schema/user.rs:13374-13385 \u2014 before extracting anything, compare \u0060thunder/schema/media_common.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 280 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 \u0060thunder/schema/media_common.rs:521\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/media_common.rs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af195dac2ac9019d0895841704a678d697137ce14e74d3ea461dd3edd17ac37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 6): thunder/schema/tweet_media.rs:624-635 | thunder/schema/tweet_media.rs:708-719 | thunder/schema/tweet_media.rs:791-802 | thunder/schema/user.rs:8099-8110 | thunder/schema/user.rs:9923-9934 | thunder/schema/user.rs:12271-12282 \u2014 before extracting anything, compare \u0060thunder/schema/tweet_media.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 172 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 \u0060thunder/schema/tweet_media.rs:624\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet_media.rs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fff7efcdccbcc5cc38d26438c380d29874650b1e5d10c4b45de648137f8f18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): thunder/schema/events.rs:252-263 | thunder/schema/events.rs:419-430 | thunder/schema/events.rs:499-510 | thunder/schema/events.rs:579-590 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:252\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":"thunder/schema/events.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14ef2eb8efec32c927b6b37d8760855d41f9cb1b24ca9a966215de143772a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): thunder/schema/events.rs:316-327 | thunder/schema/tweet.rs:3444-3455 | thunder/schema/tweet.rs:5124-5135 | thunder/schema/tweet.rs:5187-5198 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:316\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060thunder/schema/events.rs:329\u0060 calls \u0060verify_required_field_exists\u0060 and \u0060thunder/schema/tweet.rs:3457\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ed397a9a21c5a0825811a03a2348b0689bde78fab36bf7ecbc01c6b18084cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): thunder/schema/tweet_events.rs:138-149 | thunder/schema/tweet_events.rs:296-307 | thunder/schema/tweet_events.rs:411-422 | thunder/schema/tweet_events.rs:762-773 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/tweet_events.rs:138\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":"thunder/schema/tweet_events.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4d8266834dd762035de52fba8cf011eba3cc3181193decb5743cd1c7eb9ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): home-mixer/ads/least_movement_blender.rs:52-62 | home-mixer/ads/multi_risk_blender.rs:44-55 | home-mixer/ads/slot_spread_blender.rs:51-61 \u2014 before extracting anything, compare \u0060home-mixer/ads/least_movement_blender.rs\u0060 and \u0060home-mixer/ads/slot_spread_blender.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060home-mixer/ads/least_movement_blender.rs:52\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":"home-mixer/ads/least_movement_blender.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"de65e5dd5f0dc5784cada4926fbc46d224dad9d60517a718ad90635c93001c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): home-mixer/clients/prompts_client.rs:36-47 | home-mixer/clients/simclusters_ann_client.rs:39-50 | home-mixer/clients/who_to_follow_client.rs:38-49 \u2014 before extracting anything, compare \u0060home-mixer/clients/prompts_client.rs\u0060 and \u0060home-mixer/clients/simclusters_ann_client.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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 \u0060home-mixer/clients/prompts_client.rs:36\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/prompts_client.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fb232b134d83d5774b59733de38ac86f2c3305745dabb19656420984ae7f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): home-mixer/util/urt/feedback.rs:78-89 | home-mixer/util/urt/feedback.rs:114-125 | home-mixer/util/urt/feedback.rs:190-201 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060home-mixer/util/urt/feedback.rs:78\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060home-mixer/util/urt/feedback.rs:127\u0060 calls \u0060Some\u0060, \u0060lookup\u0060 and \u0060home-mixer/util/urt/feedback.rs:203\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/feedback.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10f8e0b45927c40a7da5b4d954c8354b78ca550307fa252416c720bda0edb44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1608-1619 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1739-1750 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1815-1826 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1608\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1751\u0060 calls \u0060take\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1620\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":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"17893e591c06799582f1b845053308093d001a6d19f26140d51b0695b5575657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): thunder/schema/events.rs:2623-2634 | thunder/schema/media_common.rs:409-420 | thunder/schema/user.rs:12236-12247 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/media_common.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 150 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":"thunder/schema/events.rs"},"region":{"startLine":2623}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ade1a0c95e57ec90b185ca6175da824b0efd25874bd9fd0200e779f640a6872"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): thunder/schema/tweet.rs:3532-3543 | thunder/schema/tweet.rs:3936-3947 | thunder/schema/tweet_media.rs:688-699 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_media.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 195 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 \u0060thunder/schema/tweet.rs:3532\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":"thunder/schema/tweet.rs"},"region":{"startLine":3532}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e38eee4535549ffc4df3049f317abf0c878a4f755d8687f8b74d8e0a4005b2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): thunder/schema/tweet.rs:3943-3954 | thunder/schema/user.rs:13012-13023 | thunder/schema/user.rs:13914-13925 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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":"thunder/schema/tweet.rs"},"region":{"startLine":3943}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56cf3d7d0480b3c0cadc015d5640c4d9f42db37ea43aaa63e9cd2e49f497b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): thunder/schema/user.rs:11746-11757 | thunder/schema/user.rs:11962-11973 | thunder/schema/user.rs:12042-12053 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:11746\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":"thunder/schema/user.rs"},"region":{"startLine":11746}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c195320b31ff5339b35a563e360d009fd6ec8cf4581f6ea4b86eb2b866d80e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): abuse-enforcement-service/service-lib/src/action_control.rs:1353-1364 | abuse-enforcement-service/service-lib/src/head_guard.rs:543-554 \u2014 before extracting anything, compare \u0060abuse-enforcement-service/service-lib/src/action_control.rs\u0060 and \u0060abuse-enforcement-service/service-lib/src/head_guard.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 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. 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":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"939dd97049a02ad851358563ea85e9864630a2f631b431c430c72ee89e0bed39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): home-mixer/ads/partition_organic_blender.rs:34-45 | home-mixer/ads/time_gap_blender.rs:57-68 \u2014 before extracting anything, compare \u0060home-mixer/ads/partition_organic_blender.rs\u0060 and \u0060home-mixer/ads/time_gap_blender.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 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 \u0060home-mixer/ads/partition_organic_blender.rs:34\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, \u0060home-mixer/ads/partition_organic_blender.rs:29\u0060 calls \u0060emit_serving_limitation\u0060, \u0060is_empty\u0060 and \u0060home-mixer/ads/time_gap_blender.rs:56\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/partition_organic_blender.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d066e2d56ec15118031ad45fb56fc628ea8fbb255eaf05657acb25c6446dadf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): home-mixer/ads/partition_organic_blender.rs:81-92 | home-mixer/ads/time_gap_blender.rs:97-108 \u2014 before extracting anything, compare \u0060home-mixer/ads/partition_organic_blender.rs\u0060 and \u0060home-mixer/ads/time_gap_blender.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 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 \u0060home-mixer/ads/partition_organic_blender.rs:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/partition_organic_blender.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb98771b58e34f0808f63e69d20084623c7152dbc53a82de725c09ba6e27f19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): home-mixer/clients/prompts_client.rs:95-106 | home-mixer/clients/simclusters_ann_client.rs:98-109 \u2014 before extracting anything, compare \u0060home-mixer/clients/prompts_client.rs\u0060 and \u0060home-mixer/clients/simclusters_ann_client.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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 \u0060home-mixer/clients/prompts_client.rs:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/prompts_client.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc3b0ba7bc1ca9ce3f527dc5480854a6b9351c2568aa51c0f34b84b0618a4c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): home-mixer/selectors/blender_selector.rs:95-106 | home-mixer/selectors/following_blender_selector.rs:49-60 \u2014 before extracting anything, compare \u0060home-mixer/selectors/blender_selector.rs\u0060 and \u0060home-mixer/selectors/following_blender_selector.rs\u0060 as WHOLE FILES: this scan already matched 4 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060home-mixer/selectors/blender_selector.rs:95\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":"home-mixer/selectors/blender_selector.rs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ac15f126b8572a622da7c5b5929dfbd65babb73f45ac440ef3d86639de15b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): home-mixer/selectors/blender_selector.rs:126-137 | home-mixer/selectors/following_blender_selector.rs:80-91 \u2014 before extracting anything, compare \u0060home-mixer/selectors/blender_selector.rs\u0060 and \u0060home-mixer/selectors/following_blender_selector.rs\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"home-mixer/selectors/blender_selector.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f814a1d8ca095166eab9b570e3b93c95f44a194809c5b5a43703a489ddc487fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): phoenix-rankall/src/processor/gen/hydra.rs:77-88 | phoenix-rankall/src/processor/gen/scored_candidate.rs:337-348 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 117 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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"235b4f4d66bcc2ca6ea05aefe9369c3d89332374472f3503538d95b1b0b781ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): phoenix-rankall/src/processor/gen/scored_candidate.rs:224-235 | thunder/schema/user.rs:4285-4296 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 83 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs:224\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":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb0ad956a028a4af358f00fc8c9758de5295ff2638ab4636634a19f67478f4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): phoenix-rankall/src/processor/sid_processor.rs:77-88 | phoenix-rankall/src/processor/sid_tail_processor.rs:99-110 \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":"phoenix-rankall/src/processor/sid_processor.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc24b7bec34731a2eade736cdf3b4ce28aa38c97403eb48e31eab73211947c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): phoenix-rankall/src/store/base.rs:388-399 | phoenix-rankall/src/store/base.rs:559-570 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix-rankall/src/store/base.rs:388\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":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcdae6bdce9d1ea9f75e1ad6b9c2d0f298fe29bdad0d7ad47c6d44cfc65e922"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): phoenix-rankall/src/store/base.rs:462-472 | phoenix-rankall/src/store/base.rs:653-664 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix-rankall/src/store/base.rs:462\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. 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":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e48fdd14f36f95b04b7d4934c66dfe52a13cb179b990c035e703e0d8810d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): phoenix/crates/common/xai-recsys/src/util.rs:942-953 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:424-435 \u2014 before extracting anything, compare \u0060phoenix/crates/common/xai-recsys/src/util.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/util.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"c140661f7cbb16777c28845382f63d0f27dea387e4321b86c7021fe7b085ff1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): thunder/schema/events.rs:2120-2131 | thunder/schema/events.rs:2218-2229 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/events.rs:2120\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":"thunder/schema/events.rs"},"region":{"startLine":2120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdf7e38c9b12b24efc4858bf5c84881bc3957e7736b6f7f5879b5c529c9392f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): thunder/schema/tweet.rs:1570-1581 | thunder/schema/user.rs:12874-12885 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1570\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":"thunder/schema/tweet.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc6daa7da985fc6ff6e38ba9af84490cb662cb8333dbb83f79100aa02c223b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): thunder/schema/tweet.rs:1704-1715 | thunder/schema/user.rs:11097-11108 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1704\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":"thunder/schema/tweet.rs"},"region":{"startLine":1704}}}],"partialFingerprints":{"codehealthFindingId/v1":"320051585d866e29387b80127649c019b0be9afbd0c7bfd15a4e7dcdf46ec877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): thunder/schema/tweet_media.rs:645-656 | thunder/schema/tweet_media.rs:735-746 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/tweet_media.rs:645\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":"thunder/schema/tweet_media.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"987a4ca67ada5a0ef780e7df4c47cefd8e79631cb568abfdf7f5dea3c92a8752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): thunder/schema/user.rs:12824-12835 | thunder/schema/user.rs:13138-13149 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:12824\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":"thunder/schema/user.rs"},"region":{"startLine":12824}}}],"partialFingerprints":{"codehealthFindingId/v1":"70eee923ea7b456d63753820a0a046c8f641db5a29c4530de518bd3c9e572bd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 79): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:101-111 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:163-173 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:246-256 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:448-458 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:610-620 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:717-727 | thunder/schema/events.rs:216-226 | thunder/schema/events.rs:296-306 | thunder/schema/events.rs:383-393 | thunder/schema/events.rs:463-473 | thunder/schema/events.rs:543-553 | thunder/schema/events.rs:650-660 | thunder/schema/events.rs:847-857 | thunder/schema/events.rs:1026-1036 | thunder/schema/events.rs:1195-1205 | thunder/schema/events.rs:1249-1259 | thunder/schema/events.rs:1309-1319 | thunder/schema/events.rs:1386-1396 | thunder/schema/events.rs:1453-1463 | thunder/schema/events.rs:1562-1572 | thunder/schema/events.rs:2074-2084 | thunder/schema/events.rs:2177-2187 | thunder/schema/events.rs:2270-2280 | thunder/schema/events.rs:2363-2373 | thunder/schema/events.rs:2456-2466 | thunder/schema/events.rs:2543-2553 | thunder/schema/events.rs:2616-2626 | thunder/schema/events.rs:2706-2716 | thunder/schema/events.rs:2783-2793 | thunder/schema/events.rs:2853-2863 | thunder/schema/events.rs:2938-2948 | thunder/schema/events.rs:3033-3043 | thunder/schema/events.rs:3110-3120 | thunder/schema/events.rs:3187-3197 | thunder/schema/events.rs:3264-3274 | thunder/schema/events.rs:3453-3463 | thunder/schema/events.rs:3569-3579 | thunder/schema/events.rs:3740-3750 | thunder/schema/events.rs:3990-4000 | thunder/schema/media_common.rs:394-404 | thunder/schema/tweet.rs:629-639 | thunder/schema/tweet.rs:696-706 | thunder/schema/tweet.rs:766-776 | thunder/schema/tweet.rs:923-933 | thunder/schema/tweet.rs:990-1000 | thunder/schema/tweet.rs:2380-2390 | thunder/schema/tweet.rs:2518-2528 | thunder/schema/tweet.rs:2683-2693 | thunder/schema/tweet.rs:2878-2888 | thunder/schema/tweet.rs:3010-3020 | thunder/schema/tweet.rs:3609-3619 | thunder/schema/tweet.rs:3731-3741 | thunder/schema/tweet.rs:4039-4049 | thunder/schema/tweet.rs:4096-4106 | thunder/schema/tweet.rs:4687-4697 | thunder/schema/tweet.rs:4888-4898 | thunder/schema/tweet.rs:4941-4951 | thunder/schema/tweet.rs:4994-5004 | thunder/schema/tweet.rs:5050-5060 | thunder/schema/tweet.rs:5386-5396 | thunder/schema/tweet_events.rs:538-548 | thunder/schema/tweet_events.rs:605-615 | thunder/schema/tweet_events.rs:675-685 | thunder/schema/tweet_events.rs:924-934 | thunder/schema/tweet_events.rs:1027-1037 | thunder/schema/tweet_events.rs:1120-1130 | thunder/schema/tweet_events.rs:1216-1226 | thunder/schema/user.rs:3276-3286 | thunder/schema/user.rs:5859-5869 | thunder/schema/user.rs:7822-7832 | thunder/schema/user.rs:9691-9701 | thunder/schema/user.rs:10640-10650 | thunder/schema/user.rs:10790-10800 | thunder/schema/user.rs:11692-11702 | thunder/schema/user.rs:12229-12239 | thunder/schema/user.rs:12710-12720 | thunder/schema/user.rs:12977-12987 | thunder/schema/user.rs:13635-13645 | thunder/schema/user.rs:14315-14325 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:101\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet.rs:2377\u0060 calls \u0060Some\u0060 and \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:98\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4c451be01b83895e5379526259d6a1ee05a905bb1d543366219ee92a35add3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 54): phoenix-rankall/src/processor/gen/hydra.rs:70-80 | phoenix-rankall/src/processor/gen/hydra.rs:208-218 | phoenix-rankall/src/processor/gen/hydra.rs:486-496 | phoenix-rankall/src/processor/gen/scored_candidate.rs:87-97 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:101-110 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:163-172 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:246-255 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:448-457 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:610-619 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:717-726 | thunder/schema/events.rs:296-305 | thunder/schema/events.rs:650-659 | thunder/schema/events.rs:847-856 | thunder/schema/events.rs:1026-1035 | thunder/schema/events.rs:1309-1318 | thunder/schema/events.rs:1453-1462 | thunder/schema/events.rs:1562-1571 | thunder/schema/events.rs:2616-2625 | thunder/schema/events.rs:2853-2862 | thunder/schema/events.rs:2938-2947 | thunder/schema/events.rs:3033-3042 | thunder/schema/events.rs:3110-3119 | thunder/schema/events.rs:3187-3196 | thunder/schema/events.rs:3264-3273 | thunder/schema/events.rs:3453-3462 | thunder/schema/events.rs:3569-3578 | thunder/schema/events.rs:3740-3749 | thunder/schema/media_common.rs:394-403 | thunder/schema/tweet.rs:990-999 | thunder/schema/tweet.rs:2380-2389 | thunder/schema/tweet.rs:2683-2692 | thunder/schema/tweet.rs:2878-2887 | thunder/schema/tweet.rs:3010-3019 | thunder/schema/tweet.rs:3609-3618 | thunder/schema/tweet.rs:3731-3740 | thunder/schema/tweet.rs:4039-4048 | thunder/schema/tweet.rs:4687-4696 | thunder/schema/tweet.rs:4888-4897 | thunder/schema/tweet.rs:4941-4950 | thunder/schema/tweet.rs:4994-5003 | thunder/schema/tweet.rs:5050-5059 | thunder/schema/tweet.rs:5386-5395 | thunder/schema/tweet_events.rs:924-933 | thunder/schema/user.rs:3276-3285 | thunder/schema/user.rs:5859-5868 | thunder/schema/user.rs:7822-7831 | thunder/schema/user.rs:9691-9700 | thunder/schema/user.rs:10790-10799 | thunder/schema/user.rs:11692-11701 | thunder/schema/user.rs:12229-12238 | thunder/schema/user.rs:12710-12719 | thunder/schema/user.rs:12977-12986 | thunder/schema/user.rs:13635-13644 | thunder/schema/user.rs:14315-14324 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 117 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 \u0060phoenix-rankall/src/processor/gen/hydra.rs:70\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet.rs:3607\u0060 calls \u0060Some\u0060 and \u0060phoenix-rankall/src/processor/gen/hydra.rs:206\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b91274b3132f64f1430ff4808e26af63cc51c052e42afaca5dcc95bd39de3fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 32): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:489-499 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:772-782 | thunder/schema/events.rs:659-669 | thunder/schema/events.rs:691-701 | thunder/schema/events.rs:856-866 | thunder/schema/events.rs:888-898 | thunder/schema/events.rs:1035-1045 | thunder/schema/events.rs:1571-1581 | thunder/schema/events.rs:1615-1625 | thunder/schema/events.rs:2083-2093 | thunder/schema/events.rs:2186-2196 | thunder/schema/events.rs:2279-2289 | thunder/schema/events.rs:2372-2382 | thunder/schema/events.rs:2947-2957 | thunder/schema/events.rs:3462-3472 | thunder/schema/events.rs:3578-3588 | thunder/schema/events.rs:3749-3759 | thunder/schema/media_common.rs:403-413 | thunder/schema/media_entity.rs:232-242 | thunder/schema/tweet.rs:2887-2897 | thunder/schema/tweet_events.rs:1129-1139 | thunder/schema/tweet_events.rs:1225-1235 | thunder/schema/user.rs:8080-8090 | thunder/schema/user.rs:8514-8524 | thunder/schema/user.rs:9146-9156 | thunder/schema/user.rs:9700-9710 | thunder/schema/user.rs:12242-12252 | thunder/schema/user.rs:12727-12737 | thunder/schema/user.rs:13002-13012 | thunder/schema/user.rs:13042-13052 | thunder/schema/user.rs:13644-13654 | thunder/schema/user.rs:14324-14334 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:489\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aecc7860d8690a1ac4e6d6dcffd6ca6b446cb08894cf3da62f34618d3441aef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 27): thunder/schema/media_common.rs:312-322 | thunder/schema/media_common.rs:574-584 | thunder/schema/tweet.rs:846-856 | thunder/schema/tweet.rs:1156-1166 | thunder/schema/tweet.rs:1240-1250 | thunder/schema/tweet.rs:1432-1442 | thunder/schema/tweet.rs:3130-3140 | thunder/schema/tweet.rs:3203-3213 | thunder/schema/tweet.rs:3344-3354 | thunder/schema/tweet_media.rs:410-420 | thunder/schema/tweet_media.rs:487-497 | thunder/schema/tweet_media.rs:551-561 | thunder/schema/tweet_media.rs:775-785 | thunder/schema/user.rs:3353-3363 | thunder/schema/user.rs:3878-3888 | thunder/schema/user.rs:4031-4041 | thunder/schema/user.rs:4288-4298 | thunder/schema/user.rs:4399-4409 | thunder/schema/user.rs:4619-4629 | thunder/schema/user.rs:4842-4852 | thunder/schema/user.rs:6122-6132 | thunder/schema/user.rs:11853-11863 | thunder/schema/user.rs:11923-11933 | thunder/schema/user.rs:12003-12013 | thunder/schema/user.rs:13349-13359 | thunder/schema/user.rs:13895-13905 | thunder/schema/user.rs:14121-14131 \u2014 before extracting anything, compare \u0060thunder/schema/media_common.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 235 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 \u0060thunder/schema/media_common.rs:312\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet.rs:1155\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/media_common.rs:311\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/media_common.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f13ed3a1c016c3e3d5d3a9b9ade502b4d3ccbe18ba46264fea86c59b3e62e97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 25): thunder/schema/events.rs:1821-1831 | thunder/schema/tweet.rs:3019-3029 | thunder/schema/tweet.rs:3031-3041 | thunder/schema/user.rs:3631-3641 | thunder/schema/user.rs:6135-6145 | thunder/schema/user.rs:6183-6193 | thunder/schema/user.rs:6203-6213 | thunder/schema/user.rs:6223-6233 | thunder/schema/user.rs:6279-6289 | thunder/schema/user.rs:6303-6313 | thunder/schema/user.rs:6335-6345 | thunder/schema/user.rs:6363-6373 | thunder/schema/user.rs:7107-7117 | thunder/schema/user.rs:7273-7283 | thunder/schema/user.rs:7596-7606 | thunder/schema/user.rs:7632-7642 | thunder/schema/user.rs:8348-8358 | thunder/schema/user.rs:9074-9084 | thunder/schema/user.rs:9110-9120 | thunder/schema/user.rs:9182-9192 | thunder/schema/user.rs:9270-9280 | thunder/schema/user.rs:10028-10038 | thunder/schema/user.rs:10355-10365 | thunder/schema/user.rs:12384-12394 | thunder/schema/user.rs:12570-12580 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:1821\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac29c2bbb19c7338d6fc61c934d1171a3637ab10c9958d88d98bf0178f671ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 21): thunder/schema/tweet.rs:1294-1304 | thunder/schema/tweet.rs:3256-3266 | thunder/schema/user.rs:3955-3965 | thunder/schema/user.rs:4134-4144 | thunder/schema/user.rs:4696-4706 | thunder/schema/user.rs:6909-6919 | thunder/schema/user.rs:7002-7012 | thunder/schema/user.rs:7098-7108 | thunder/schema/user.rs:7264-7274 | thunder/schema/user.rs:7892-7902 | thunder/schema/user.rs:7975-7985 | thunder/schema/user.rs:8339-8349 | thunder/schema/user.rs:8775-8785 | thunder/schema/user.rs:8842-8852 | thunder/schema/user.rs:9065-9075 | thunder/schema/user.rs:10019-10029 | thunder/schema/user.rs:10153-10163 | thunder/schema/user.rs:10210-10220 | thunder/schema/user.rs:10346-10356 | thunder/schema/user.rs:12375-12385 | thunder/schema/user.rs:12561-12571 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1294\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/user.rs:4131\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/tweet.rs:1293\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cae9d9f59dcb4edbbd8391cc5eef0c1b25cd9dced240050dc7c5333ea1204ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 19): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:469-479 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:748-758 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:780-790 | thunder/schema/media_entity.rs:186-196 | thunder/schema/tweet.rs:1445-1455 | thunder/schema/tweet.rs:1474-1484 | thunder/schema/tweet.rs:1656-1666 | thunder/schema/tweet.rs:2692-2702 | thunder/schema/tweet.rs:3740-3750 | thunder/schema/user.rs:4040-4050 | thunder/schema/user.rs:4420-4430 | thunder/schema/user.rs:6239-6249 | thunder/schema/user.rs:10799-10809 | thunder/schema/user.rs:11054-11064 | thunder/schema/user.rs:12739-12749 | thunder/schema/user.rs:12994-13004 | thunder/schema/user.rs:13034-13044 | thunder/schema/user.rs:13050-13060 | thunder/schema/user.rs:13652-13662 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/media_entity.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:469\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1c4b0ed5a342d2b47b2f6b4ec9b4064994056bd6fd5de7c6535328cbbdb3db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 18): phoenix-rankall/src/processor/gen/scored_candidate.rs:227-237 | thunder/schema/media_common.rs:312-321 | thunder/schema/tweet.rs:1432-1441 | thunder/schema/tweet.rs:3203-3212 | thunder/schema/tweet_media.rs:410-419 | thunder/schema/tweet_media.rs:551-560 | thunder/schema/user.rs:4031-4040 | thunder/schema/user.rs:4288-4297 | thunder/schema/user.rs:4399-4408 | thunder/schema/user.rs:4619-4628 | thunder/schema/user.rs:4842-4851 | thunder/schema/user.rs:6122-6131 | thunder/schema/user.rs:11853-11862 | thunder/schema/user.rs:11923-11932 | thunder/schema/user.rs:12003-12012 | thunder/schema/user.rs:13349-13358 | thunder/schema/user.rs:13895-13904 | thunder/schema/user.rs:14121-14130 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs:227\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/media_common.rs:310\u0060 calls \u0060Some\u0060, \u0060to_owned\u0060 and \u0060thunder/schema/tweet.rs:3201\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":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5234dbab6d90264cfefa5fcc622a22f54501366054a6fdc65989321ce51ddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 13): thunder/schema/events.rs:1039-1049 | thunder/schema/events.rs:1817-1827 | thunder/schema/events.rs:1987-1997 | thunder/schema/events.rs:2465-2475 | thunder/schema/events.rs:2951-2961 | thunder/schema/media_entity.rs:206-216 | thunder/schema/tweet.rs:3027-3037 | thunder/schema/tweet_events.rs:1036-1046 | thunder/schema/user.rs:9138-9148 | thunder/schema/user.rs:9198-9208 | thunder/schema/user.rs:9234-9244 | thunder/schema/user.rs:9246-9256 | thunder/schema/user.rs:12731-12741 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/media_entity.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 66 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 \u0060thunder/schema/events.rs:1039\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc9d0ddf3a2e4d4463003adb861f14eba93c5858b880af55f33bb7489c75f4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 11): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:485-495 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:768-778 | thunder/schema/events.rs:2625-2635 | thunder/schema/media_common.rs:411-421 | thunder/schema/media_entity.rs:202-212 | thunder/schema/tweet.rs:1775-1785 | thunder/schema/tweet.rs:3744-3754 | thunder/schema/user.rs:11247-11257 | thunder/schema/user.rs:12238-12248 | thunder/schema/user.rs:12998-13008 | thunder/schema/user.rs:13038-13048 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:485\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06e487e6e3bf7f085c38eddd452042120eb27cc35fcfede9bf79e87df5d3351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 11): thunder/schema/events.rs:687-697 | thunder/schema/events.rs:884-894 | thunder/schema/events.rs:1043-1053 | thunder/schema/events.rs:1611-1621 | thunder/schema/media_entity.rs:228-238 | thunder/schema/tweet.rs:3023-3033 | thunder/schema/tweet_events.rs:309-319 | thunder/schema/user.rs:9142-9152 | thunder/schema/user.rs:9186-9196 | thunder/schema/user.rs:9202-9212 | thunder/schema/user.rs:9250-9260 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/media_entity.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 66 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 \u0060thunder/schema/events.rs:687\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"107d0be6b91fecbff62d625ed87ae55d7b41338ef7c0b0771d4689d95f29eda1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 10): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:457-467 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:744-754 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:776-786 | thunder/schema/media_common.rs:407-417 | thunder/schema/tweet.rs:1779-1789 | thunder/schema/tweet.rs:2265-2275 | thunder/schema/user.rs:7984-7994 | thunder/schema/user.rs:8084-8094 | thunder/schema/user.rs:13046-13056 | thunder/schema/user.rs:13648-13658 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/media_common.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 139 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:457\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"51982093d39d4f0a0146ed0f27b86383050b9caf8eb46c9344cf3474071a4362"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9): thunder/schema/media_entity.rs:279-289 | thunder/schema/tweet.rs:1693-1703 | thunder/schema/tweet.rs:1812-1822 | thunder/schema/tweet.rs:2035-2045 | thunder/schema/tweet.rs:2115-2125 | thunder/schema/tweet.rs:2203-2213 | thunder/schema/user.rs:11279-11289 | thunder/schema/user.rs:11433-11443 | thunder/schema/user.rs:11577-11587 \u2014 before extracting anything, compare \u0060thunder/schema/media_entity.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 183 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":"thunder/schema/media_entity.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7af3ea79ebb0f8434e8de68c1909333d814a98aeb697b23024c26eee7ce925c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): thunder/schema/events.rs:679-689 | thunder/schema/events.rs:876-886 | thunder/schema/events.rs:3598-3608 | thunder/schema/events.rs:3769-3779 | thunder/schema/tweet_events.rs:147-157 | thunder/schema/tweet_events.rs:420-430 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 328 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 \u0060thunder/schema/events.rs:679\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"964e901774a5fbc66669d0d3727fca9bcad32d97562da66a934ae1f4d285345e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): thunder/schema/media_entity.rs:224-234 | thunder/schema/user.rs:4440-4450 | thunder/schema/user.rs:6179-6189 | thunder/schema/user.rs:6199-6209 | thunder/schema/user.rs:6291-6301 | thunder/schema/user.rs:9178-9188 \u2014 before extracting anything, compare \u0060thunder/schema/media_entity.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 18 separate duplicated blocks between them, totalling at least 231 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 \u0060thunder/schema/media_entity.rs:224\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/media_entity.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bf7fdc4fbd92ff9af13ecd901e1bc13e53ad6e431365a732d30aa2649509cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): home-mixer/server.rs:389-399 | home-mixer/server.rs:488-498 | home-mixer/server.rs:551-561 | home-mixer/server.rs:654-664 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060home-mixer/server.rs:389\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":"home-mixer/server.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda0a1fe5f83bc619f8be5100a31bc573c7c5d4bb14e41e26d3929292442f9a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): phoenix-rankall/src/processor/gen/hydra.rs:217-227 | phoenix-rankall/src/processor/gen/scored_candidate.rs:96-106 | phoenix-rankall/src/processor/gen/scored_candidate.rs:112-122 | phoenix-rankall/src/processor/gen/scored_candidate.rs:331-341 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 117 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 \u0060phoenix-rankall/src/processor/gen/hydra.rs:217\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"821570938a476f6dd86be38af4d8b26dc8dcf2d6faffb0fa79e9b5e37ad1010b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:465-475 | thunder/schema/user.rs:6175-6185 | thunder/schema/user.rs:13030-13040 | thunder/schema/user.rs:14028-14038 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:465\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"48012fd36100c1eff34b0a5d5a6824c76f21faa56b0217615ca5073ffb127137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): thunder/schema/tweet.rs:3532-3542 | thunder/schema/tweet.rs:3936-3946 | thunder/schema/tweet_events.rs:1520-1530 | thunder/schema/tweet_media.rs:688-698 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:3532\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet_media.rs:687\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/tweet_events.rs:1519\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":"thunder/schema/tweet.rs"},"region":{"startLine":3532}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a56bcdd2fca7f5057a62abc8741c55a8b9142b5d378773a6570b351949dc682"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): thunder/schema/tweet.rs:3945-3955 | thunder/schema/user.rs:13010-13020 | thunder/schema/user.rs:13912-13922 | thunder/schema/user.rs:14024-14034 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:3945\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":3945}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e188d92f1d6b654f8d4e470ebb5cf24108ff392d24a547a3973740d3b307a3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): thunder/schema/user.rs:6171-6181 | thunder/schema/user.rs:7011-7021 | thunder/schema/user.rs:12578-12588 | thunder/schema/user.rs:14020-14030 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:6171\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":6171}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9fa123ac033b5ea22b9fd40007d63b99d7bb81c4a833951268d3219884b871"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): thunder/schema/user.rs:6195-6205 | thunder/schema/user.rs:6235-6245 | thunder/schema/user.rs:11705-11715 | thunder/schema/user.rs:12735-12745 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:6195\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":6195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c810c4ea32378617c31f0cdddd7b494e4a42f797246f238e6aecc774d13bdbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): home-mixer/clients/author_brand_safety_client.rs:62-72 | home-mixer/clients/recent_search_queries_store_client.rs:33-43 | home-mixer/clients/resurrection_date_client.rs:76-86 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060home-mixer/clients/author_brand_safety_client.rs:62\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/author_brand_safety_client.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8035fb0018218ed65fb551d5853c4fb058b7b9f94d98a5c4941400aa08dba53a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 3): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1690-1699 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:1754-1764 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2478-2487 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:1690\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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac85a6ad45422854410b061736915d1b239096f7028155a0fca9a6900a44cf41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): thunder/schema/events.rs:1575-1585 | thunder/schema/tweet.rs:3618-3628 | thunder/schema/tweet.rs:3748-3758 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:1575\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d53e2a9e464e87411e8c9422205ce7bde0393c6116bd6feff8e64bd9ce1c86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): thunder/schema/tweet.rs:1449-1459 | thunder/schema/user.rs:13062-13072 | thunder/schema/user.rs:13362-13372 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1449\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"c047cfbc76a7f01390264ded80b68f8b1cae08f948845bf1da89efcf1eda08c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): abuse-enforcement-service/service-lib/src/action_control.rs:1319-1339 | abuse-enforcement-service/service-lib/src/head_guard.rs:507-527 \u2014 before extracting anything, compare \u0060abuse-enforcement-service/service-lib/src/action_control.rs\u0060 and \u0060abuse-enforcement-service/service-lib/src/head_guard.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 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 \u0060abuse-enforcement-service/service-lib/src/action_control.rs:1319\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060abuse-enforcement-service/service-lib/src/action_control.rs:1341\u0060 calls \u0060with_label_values\u0060, \u0060inc\u0060 and \u0060abuse-enforcement-service/service-lib/src/head_guard.rs:528\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b5f712fa30415346e7713333660c2b5c096e598bf4039b600143814aea3c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): abuse-enforcement-service/service-lib/src/head_guard.rs:607-617 | abuse-enforcement-service/service-lib/src/off_switch.rs:648-658 \u2014 before extracting anything, compare \u0060abuse-enforcement-service/service-lib/src/head_guard.rs\u0060 and \u0060abuse-enforcement-service/service-lib/src/off_switch.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060abuse-enforcement-service/service-lib/src/head_guard.rs:607\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":"abuse-enforcement-service/service-lib/src/head_guard.rs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a945dcf69471d721a4913d2dc08c0706dc92841fbffa8d643fc32194714b49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): abuse-enforcement-service/service-lib/src/service.rs:1551-1561 | abuse-enforcement-service/service-lib/src/service.rs:1630-1640 \u2014 both copies are in the same file, so extract the block 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 \u0060abuse-enforcement-service/service-lib/src/service.rs:1551\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e90e7dd11ad60732342b52f13309403b68102325bf9169808250eed1a417af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): abuse-enforcement-service/service-lib/src/service.rs:2002-2012 | abuse-enforcement-service/service-lib/src/service.rs:2102-2112 \u2014 both copies are in the same file, so extract the block 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 \u0060abuse-enforcement-service/service-lib/src/service.rs:2002\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48b02dcfe8bacaec52c1fde407385c4ae212883d8bfb241e140fe53b1e0a2fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): candidate-pipeline/candidate_pipeline.rs:255-265 | candidate-pipeline/candidate_pipeline.rs:282-292 \u2014 both copies are in the same file, so extract the block 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 \u0060candidate-pipeline/candidate_pipeline.rs:255\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":"candidate-pipeline/candidate_pipeline.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a5309f131ba880bafc6dee54b0e96b5409d85b13431518179264ca635efcbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): home-mixer/ads/following_ad_blender.rs:48-58 | home-mixer/ads/util.rs:60-68 \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 \u0060home-mixer/ads/following_ad_blender.rs:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/following_ad_blender.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bf6b3ea3b99821dcccb8260f4282ae7f4453b14a4bdee422ffcd7bf44921b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): phoenix/crates/common/xai-recsys/src/util.rs:1813-1823 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:384-394 \u2014 before extracting anything, compare \u0060phoenix/crates/common/xai-recsys/src/util.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/util.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/common/xai-recsys/src/util.rs:1813\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":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"b424848aebe6bdf6ee98e9914789eb7642ce4b9d09d61d0c78160c75eca86102"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:153-163 | phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:230-240 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:153\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":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14aef604b03ce0bc2716f924fa7a9be9861d5a82b55481a7cbf22851f8698fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1970-1980 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2571-2581 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:1970\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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4cf5988205ac7d73ac552a9b9177418a0bde992c569d559b85bd18005bdcbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): thunder/kafka/tweet_events_listener.rs:132-142 | thunder/kafka/tweet_events_listener_v2.rs:54-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/kafka/tweet_events_listener.rs:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/kafka/tweet_events_listener.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"af606a56ece5e8c82e1bd42db9327c77f4e29b54b9ce999578dccad6b89edfdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): thunder/kafka/tweet_events_listener.rs:287-297 | thunder/kafka/tweet_events_listener.rs:306-316 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/kafka/tweet_events_listener.rs:287\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":"thunder/kafka/tweet_events_listener.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16bf1303c53373cdc919cac72c0fbfdcd77cb4fd7834e5d3daf7e1dd6b8926d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): thunder/schema/tweet_media.rs:445-455 | thunder/schema/tweet_media.rs:517-527 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/tweet_media.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"557f894c0a24d28d2b62688cbe82eb130341bcc883c634b2ae4646e9d16b5694"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): thunder/schema/user.rs:10948-10958 | thunder/schema/user.rs:10959-10969 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/user.rs"},"region":{"startLine":10948}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb16ae24cb537f85542cdbdcc2f74c82c77951136f89d8679b2a920615881f38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 14): phoenix-rankall/src/processor/gen/hydra.rs:206-215 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:99-108 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:608-617 | thunder/schema/events.rs:1024-1033 | thunder/schema/events.rs:3031-3040 | thunder/schema/events.rs:3108-3117 | thunder/schema/events.rs:3185-3194 | thunder/schema/events.rs:3262-3271 | thunder/schema/events.rs:3567-3576 | thunder/schema/events.rs:3738-3747 | thunder/schema/tweet.rs:2579-2588 | thunder/schema/tweet.rs:2876-2885 | thunder/schema/user.rs:5715-5724 | thunder/schema/user.rs:9689-9698 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/hydra.rs:206\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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"247c9ae227b3aa5c63bfd1fef78cf4f257de6cfca414313519ad4d0291bdeebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 14): thunder/schema/user.rs:3631-3640 | thunder/schema/user.rs:4775-4784 | thunder/schema/user.rs:6135-6144 | thunder/schema/user.rs:6223-6232 | thunder/schema/user.rs:6279-6288 | thunder/schema/user.rs:6303-6312 | thunder/schema/user.rs:6335-6344 | thunder/schema/user.rs:6363-6372 | thunder/schema/user.rs:7345-7354 | thunder/schema/user.rs:7596-7605 | thunder/schema/user.rs:7632-7641 | thunder/schema/user.rs:8614-8623 | thunder/schema/user.rs:9110-9119 | thunder/schema/user.rs:9270-9279 \u2014 all 14 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:3631\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":3631}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1966029d318f8da371b90d8f2b025b336dcd10a9743fb487e4b7ad209287aec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 11): thunder/schema/events.rs:1976-1985 | thunder/schema/tweet.rs:3008-3017 | thunder/schema/user.rs:4764-4773 | thunder/schema/user.rs:7262-7271 | thunder/schema/user.rs:8337-8346 | thunder/schema/user.rs:8603-8612 | thunder/schema/user.rs:8773-8782 | thunder/schema/user.rs:8840-8849 | thunder/schema/user.rs:10017-10026 | thunder/schema/user.rs:10344-10353 | thunder/schema/user.rs:12373-12382 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:1976\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/events.rs:1975\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/user.rs:4763\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":"thunder/schema/events.rs"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32b2bff9e3eafed867de47bd6c4edd1a1d3034ab987e1abb150dfd4414a2a15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 10): thunder/schema/tweet.rs:2488-2497 | thunder/schema/user.rs:10751-10760 | thunder/schema/user.rs:10908-10917 | thunder/schema/user.rs:11192-11201 | thunder/schema/user.rs:11362-11371 | thunder/schema/user.rs:11506-11515 | thunder/schema/user.rs:11650-11659 | thunder/schema/user.rs:11820-11829 | thunder/schema/user.rs:13310-13319 | thunder/schema/user.rs:13796-13805 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:2488\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":"thunder/schema/tweet.rs"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"11857f28ca1121ab023531683e3ddc01963ac2fa1ca401a20ed1f826f9b111e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 9): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:715-724 | thunder/schema/tweet.rs:2254-2263 | thunder/schema/tweet.rs:2378-2387 | thunder/schema/user.rs:4840-4849 | thunder/schema/user.rs:11039-11048 | thunder/schema/user.rs:11690-11699 | thunder/schema/user.rs:13633-13642 | thunder/schema/user.rs:14009-14018 | thunder/schema/user.rs:14119-14128 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:715\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet.rs:2377\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/user.rs:4839\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":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbc238a33c29d2db22813ba1e16c7dae260197850d7828abf65a12782fd322c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): thunder/schema/events.rs:260-269 | thunder/schema/events.rs:427-436 | thunder/schema/events.rs:507-516 | thunder/schema/events.rs:587-596 | thunder/schema/events.rs:2231-2240 | thunder/schema/events.rs:2510-2519 | thunder/schema/events.rs:2577-2586 | thunder/schema/events.rs:2750-2759 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:260\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":"thunder/schema/events.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e01e4f1a91ec67817c9ee6eccebe54e9909ad39ec2c97b93ebb29a1996975b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): thunder/schema/events.rs:731-740 | thunder/schema/events.rs:928-937 | thunder/schema/events.rs:1681-1690 | thunder/schema/events.rs:2742-2751 | thunder/schema/events.rs:3640-3649 | thunder/schema/events.rs:3811-3820 | thunder/schema/media_common.rs:450-459 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/media_common.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 150 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":"thunder/schema/events.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d424d157c06dc8342e49bcbd46e3b1cc57085fc62ddf926b52a9cb3633c8105"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): thunder/schema/events.rs:3606-3615 | thunder/schema/events.rs:3777-3786 | thunder/schema/tweet.rs:2594-2603 | thunder/schema/user.rs:5726-5735 | thunder/schema/user.rs:8080-8089 | thunder/schema/user.rs:8514-8523 | thunder/schema/user.rs:12727-12736 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:3606\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":3606}}}],"partialFingerprints":{"codehealthFindingId/v1":"98254c89a43a301b9ea25b796875447066f611a1c468f56e4b2e82ccc1c311ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): thunder/schema/tweet.rs:4163-4172 | thunder/schema/tweet.rs:4251-4260 | thunder/schema/tweet.rs:4339-4348 | thunder/schema/tweet.rs:4427-4436 | thunder/schema/tweet.rs:4515-4524 | thunder/schema/tweet.rs:4603-4612 | thunder/schema/tweet_events.rs:294-303 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:4163\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":"thunder/schema/tweet.rs"},"region":{"startLine":4163}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fca9a32a321b1af28b9314e04803664a34a0c7e9946c53cd07ccd09986114b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): thunder/schema/events.rs:1122-1131 | thunder/schema/events.rs:1156-1165 | thunder/schema/tweet.rs:2335-2344 | thunder/schema/tweet.rs:3305-3314 | thunder/schema/tweet.rs:3393-3402 | thunder/schema/tweet.rs:3490-3499 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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":"thunder/schema/events.rs"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6984198c4b29aca5f49a0349624d0593ae6f75339dc58e7a5443f30ee4ab417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): thunder/schema/events.rs:4139-4148 | thunder/schema/tweet.rs:4737-4746 | thunder/schema/tweet.rs:5230-5239 | thunder/schema/tweet_events.rs:1321-1330 | thunder/schema/tweet_media.rs:843-852 | thunder/schema/user.rs:4928-4937 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:4139\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":"thunder/schema/events.rs"},"region":{"startLine":4139}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d58cc0b3989acbf102b9be35bfe3230c50205216ade91d68991f3a911aa34c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): phoenix-rankall/src/processor/gen/hydra.rs:134-143 | thunder/schema/events.rs:4078-4087 | thunder/schema/tweet.rs:1900-1909 | thunder/schema/tweet.rs:1964-1973 | thunder/schema/user.rs:3842-3851 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/hydra.rs:134\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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18d349083a2f840fb2a5c96be1d2f7d1bc6395833a26042bd559e1f78aef7e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:244-253 | thunder/schema/media_common.rs:392-401 | thunder/schema/tweet.rs:1641-1650 | thunder/schema/user.rs:7890-7899 | thunder/schema/user.rs:10788-10797 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/media_common.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 139 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:244\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet.rs:1638\u0060 calls \u0060Some\u0060, \u0060to_owned\u0060 and \u0060thunder/schema/user.rs:7889\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"c741c1c6ba1c4e7c9915b3b17762d3fb247d0c896b231e73a7b9748db1a5241b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): thunder/schema/events.rs:687-696 | thunder/schema/events.rs:884-893 | thunder/schema/tweet.rs:3630-3639 | thunder/schema/tweet_events.rs:309-318 | thunder/schema/user.rs:6391-6400 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:687\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87e34e3fd5850f6e19563c1b9dea474f1e45fa837654bd74b8463b14d591f06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): phoenix-rankall/src/processor/gen/scored_candidate.rs:191-200 | thunder/schema/tweet_media.rs:652-661 | thunder/schema/tweet_media.rs:742-751 | thunder/schema/tweet_media.rs:819-828 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs:191\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":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4d138b17b4f3d0e87ef535e65dc9ef6f6828bd96c48a897d75d38099355e02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): phoenix-rankall/src/processor/gen/scored_candidate.rs:314-323 | thunder/schema/events.rs:2851-2860 | thunder/schema/user.rs:5857-5866 | thunder/schema/user.rs:11232-11241 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs:314\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/user.rs:11229\u0060 calls \u0060Some\u0060, \u0060to_owned\u0060 and \u0060thunder/schema/user.rs:5856\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f58ae16bd3dc7e8152c6363ea6e364213699d657f2391e4402980d2178a791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): thunder/schema/events.rs:3071-3082 | thunder/schema/events.rs:3148-3159 | thunder/schema/events.rs:3225-3236 | thunder/schema/events.rs:3302-3313 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":3071}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e800efddec179bb572f3e540a84059909f9a966b88fcd27524a2641a0e990e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): thunder/schema/tweet.rs:727-736 | thunder/schema/tweet.rs:1021-1030 | thunder/schema/tweet.rs:2302-2311 | thunder/schema/tweet.rs:2416-2425 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5f38684ead5a851a58a04e97508dca456ff3fdb7bb7b35a35a1d875622246c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): thunder/schema/tweet.rs:957-966 | thunder/schema/tweet_events.rs:572-581 | thunder/schema/tweet_events.rs:796-805 | thunder/schema/tweet_events.rs:885-894 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:957\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":"thunder/schema/tweet.rs"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c2c44950068a2c8937298890bae5c53f8e7ed940815789bfff138f86222179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): home-mixer/ads/multi_risk_blender.rs:202-211 | home-mixer/ads/partition_organic_blender.rs:139-148 | home-mixer/ads/time_gap_blender.rs:146-155 \u2014 before extracting anything, compare \u0060home-mixer/ads/multi_risk_blender.rs\u0060 and \u0060home-mixer/ads/partition_organic_blender.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 56 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 \u0060home-mixer/ads/multi_risk_blender.rs:202\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, \u0060home-mixer/ads/multi_risk_blender.rs:201\u0060 calls \u0060extend\u0060, \u0060into_iter\u0060, \u0060flatten\u0060 and \u0060home-mixer/ads/partition_organic_blender.rs:138\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":"home-mixer/ads/multi_risk_blender.rs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"745e3b83709f5a920976319aecf001b9bb0ab0a14242dd39fc2039291f44c3d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1789-1798 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:1814-1823 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:1871-1880 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd0ddc08652505c2717ef08d8ff44dea08a2dad567ce1f6b8b83e614171ad23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): thunder/schema/events.rs:303-312 | thunder/schema/tweet_events.rs:682-691 | thunder/schema/tweet_events.rs:1231-1240 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 328 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 \u0060thunder/schema/events.rs:303\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":"thunder/schema/events.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"693371bdca62c0f559c531711a809321bcda38a6b277d750e0cc75204d02e1ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): thunder/schema/events.rs:1420-1429 | thunder/schema/events.rs:3683-3692 | thunder/schema/events.rs:3854-3863 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:1420\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":"thunder/schema/events.rs"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6a599f1bc8740ae2871e23c398043e4a726aa02234e0e441dd220ccd664102"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): thunder/schema/media_common.rs:544-553 | thunder/schema/user.rs:13223-13232 | thunder/schema/user.rs:13415-13424 \u2014 before extracting anything, compare \u0060thunder/schema/media_common.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 280 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 \u0060thunder/schema/media_common.rs:544\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":"thunder/schema/media_common.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"791293f47a087d3c7e640239c5f987943cfff8d2cff42f5672d969e3e9bc5a74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): thunder/schema/tweet.rs:2830-2839 | thunder/schema/tweet_events.rs:729-738 | thunder/schema/tweet_events.rs:1290-1299 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:2830\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":"thunder/schema/tweet.rs"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"93569252aab7a6bd498d719f02c29d53d35954565753f12ccd58a0341f7e6c09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): thunder/schema/tweet.rs:3530-3539 | thunder/schema/user.rs:12559-12568 | thunder/schema/user.rs:13893-13902 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:3530\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":"thunder/schema/tweet.rs"},"region":{"startLine":3530}}}],"partialFingerprints":{"codehealthFindingId/v1":"9723d762b749318bd4de7633d90266f1c157b95d337fb8a4a798c00d6fe7f78f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): thunder/schema/tweet_events.rs:211-220 | thunder/schema/tweet_events.rs:342-351 | thunder/schema/tweet_events.rs:472-481 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet_events.rs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd9f2cef14094e4e956b5021c0dba4aa75b0da243a6e63f8c30cee7e24a46b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): abuse-enforcement-service/service-lib/src/action_control.rs:93-102 | abuse-enforcement-service/service-lib/src/action_control.rs:105-114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4736e812c3b1c3ae8d009310e7b1f32bd4316bc78b9277e3a09a2821a25a3ca0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): bdsm/rust/accumulator/src/main.rs:450-459 | bdsm/rust/accumulator/src/main.rs:514-522 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bdsm/rust/accumulator/src/main.rs:450\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. 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":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfd6460c970d6df43c7d43c6942086dc82127bd492ef129fb03d58c0eb52e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): home-mixer/clients/impressed_posts_client.rs:34-43 | home-mixer/clients/simclusters_ann_cache_client.rs:67-76 \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 \u0060home-mixer/clients/impressed_posts_client.rs:34\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":"home-mixer/clients/impressed_posts_client.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ceeb3433e104d36709f54b880afeaebb5c44be3d322c3e605ee63f78e994f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): home-mixer/side_effects/phoenix_experiments_side_effect.rs:305-314 | home-mixer/side_effects/phoenix_experiments_side_effect.rs:520-529 \u2014 both copies are in the same file, so extract the block 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":"home-mixer/side_effects/phoenix_experiments_side_effect.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30dade2b0ddf4e1e95582736f1d70b88302258ee9c73c0c7690c89bbf6ac99e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): home-mixer/sources/sid_source.rs:100-109 | home-mixer/sources/simclusters_source.rs:264-273 \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 \u0060home-mixer/sources/sid_source.rs:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060home-mixer/sources/sid_source.rs:110\u0060 calls \u0060record\u0060 and \u0060home-mixer/sources/simclusters_source.rs:274\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":"home-mixer/sources/sid_source.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d888f53165bd99aafb5a3a8d92625a92cf4afde881e959afa58b373e25607d9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): home-mixer/util/urt/feedback.rs:134-143 | home-mixer/util/urt/feedback.rs:182-191 \u2014 both copies are in the same file, so extract the block 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 \u0060home-mixer/util/urt/feedback.rs:134\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/feedback.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f82c0cc12eb2f72027b6db1381001ca1a82f41da48ef404173da0c8063bcb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix-rankall/src/processor/gen/scored_candidate.rs:64-73 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:421-430 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs:64\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":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"05562bf48a3d16cc1e5e4e627e698f8b1b7ae02ae9ca65c518781f6971d2d8cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/crates/common/xai-recsys/src/util.rs:1615-1624 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:275-284 \u2014 before extracting anything, compare \u0060phoenix/crates/common/xai-recsys/src/util.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/util.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/common/xai-recsys/src/util.rs:1615\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":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d506a00589d762dea48bfd2f7c58e18ed556d46c04f6976709145c22d50e9b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:544-553 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:572-581 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:544\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060arr\u0060 to \u0060Bound\u003C\u0027_, PyArray2\u003CT\u003E\u003E\u0060 in one and \u0060Bound\u003C\u0027_, PyArray3\u003CT\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"0431f4ce849cc11c8fc50a62db57f550c6ab8831659b0453797c55faccaff36a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1348-1357 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:3073-3082 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:1348\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cae4258d4bd7a9f41a337ab7773547ec6732159679b2d46ddba8876412d0e79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/util.rs:74-83 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:256-265 \u2014 both copies are in the same file, so extract the block 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":"phoenix/crates/serving/xai-recsys-engine/src/util.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f69f2c2d635a8ac14bbd370d0f8c0997a327e625054cf28c06255408b41f108"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:255-264 | thunder/schema/events.rs:1631-1640 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:255\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1447aeef51f6099688f2ee6334ac2c57409b63db7e29e9e8fab73b12ef7dbe12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): safety-label-source/connect.rs:180-189 | visibility-filtering/server_deps.rs:60-69 \u2014 before extracting anything, compare \u0060safety-label-source/connect.rs\u0060 and \u0060visibility-filtering/server_deps.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060safety-label-source/connect.rs:180\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"safety-label-source/connect.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c784205ce6864a2eec39c48b335dd3c27823c963b215d34f8c47c35a5110ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/events.rs:1854-1863 | thunder/schema/events.rs:2019-2028 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/events.rs"},"region":{"startLine":1854}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6af425f89d033f7989ead34448fea4c4c2a1601792a994fc904f60bc00c449c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/events.rs:2936-2945 | thunder/schema/user.rs:6120-6129 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 49 separate duplicated blocks between them, totalling at least 510 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 \u0060thunder/schema/events.rs:2936\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":"thunder/schema/events.rs"},"region":{"startLine":2936}}}],"partialFingerprints":{"codehealthFindingId/v1":"13bf8e88cdec7f5a841e879c90e838dce6ab1efc14b38f2f47ef28efee2e0d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/media_common.rs:346-355 | thunder/schema/media_entity.rs:357-366 \u2014 before extracting anything, compare \u0060thunder/schema/media_common.rs\u0060 and \u0060thunder/schema/media_entity.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060thunder/schema/media_common.rs:346\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":"thunder/schema/media_common.rs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"900e3fd4fb860143a156b46408d0d9ae2772c23925a6f3d7fabc181093a531c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/media_entity.rs:221-230 | thunder/schema/tweet.rs:1471-1480 \u2014 before extracting anything, compare \u0060thunder/schema/media_entity.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 183 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 \u0060thunder/schema/media_entity.rs:221\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/media_entity.rs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"06dd8c46d373722725d8efb3d6cc3155ba6c9eef380120880b43d1fdf9e07836"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/media_entity.rs:344-353 | thunder/schema/tweet.rs:802-811 \u2014 before extracting anything, compare \u0060thunder/schema/media_entity.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 183 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":"thunder/schema/media_entity.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf013ef1ff867f070ced36e72315e0e9a4e1579eb3d4df48488a5f27ec3ac32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/tweet.rs:2161-2170 | thunder/schema/tweet_media.rs:408-417 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_media.rs\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 195 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 \u0060thunder/schema/tweet.rs:2161\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":"thunder/schema/tweet.rs"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"65612ebe9a21f42c440040897b47e7a423117f8fa8c6eca611bc6ca110d32186"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/tweet.rs:3607-3616 | thunder/schema/user.rs:3953-3962 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:3607\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":"thunder/schema/tweet.rs"},"region":{"startLine":3607}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e40eb3ed65e43c7ad64f1d15e560bfbd14d8d0177ea76ccfbcde013d359a87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/tweet.rs:3683-3692 | thunder/schema/tweet.rs:3815-3824 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/tweet.rs:3683\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":"thunder/schema/tweet.rs"},"region":{"startLine":3683}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebe501461bccd62a20a3388a8bcc1e891a024dbf52d9886d66882bd122d582d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/tweet_events.rs:931-940 | thunder/schema/user.rs:12248-12257 \u2014 before extracting anything, compare \u0060thunder/schema/tweet_events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 353 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 \u0060thunder/schema/tweet_events.rs:931\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":"thunder/schema/tweet_events.rs"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc41ee8fbd70b5826aecbf04ea5fa268257b96c9529269bdd4fe6d609d3e597"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/tweet_events.rs:1025-1034 | thunder/schema/user.rs:4694-4703 \u2014 before extracting anything, compare \u0060thunder/schema/tweet_events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 353 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 \u0060thunder/schema/tweet_events.rs:1025\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet_events.rs:1023\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/user.rs:4693\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":"thunder/schema/tweet_events.rs"},"region":{"startLine":1025}}}],"partialFingerprints":{"codehealthFindingId/v1":"3415544f4ad89ff50ed57ad818e4f6c3ae3ba87c26240f8938ec77c36fa5ab3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/tweet_media.rs:241-250 | thunder/schema/user.rs:7000-7009 \u2014 before extracting anything, compare \u0060thunder/schema/tweet_media.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 172 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 \u0060thunder/schema/tweet_media.rs:241\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":"thunder/schema/tweet_media.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17416baf764f671c2757f1b4ff1ec0ce3830d9d334cd65158f7d5a0f71ddd4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/tweet_media.rs:606-615 | thunder/schema/tweet_media.rs:686-695 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/tweet_media.rs:606\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet_media.rs:685\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/tweet_media.rs:605\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":"thunder/schema/tweet_media.rs"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fef3e17510af1956a039ae47f2aea207895f0c0d4a9f4cc5c2d3089e5bbf37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/user.rs:3320-3329 | thunder/schema/user.rs:4188-4197 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:3320\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":"thunder/schema/user.rs"},"region":{"startLine":3320}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc98006204c8b0bc6cf83aba3a1bd9a3cafa9b0c25bfdcb67cbacae422017055"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/user.rs:5760-5769 | thunder/schema/user.rs:10844-10853 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:5760\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":"thunder/schema/user.rs"},"region":{"startLine":5760}}}],"partialFingerprints":{"codehealthFindingId/v1":"5460fb318c716865c4deaf7dc6bfb0eea6e33d3cf3b42beec20dac6b69e4d3da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/user.rs:8145-8154 | thunder/schema/user.rs:12333-12342 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:8145\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":"thunder/schema/user.rs"},"region":{"startLine":8145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2792f1c19e15a8b2b88d01ddee3e7fa1c956b004acd2298c50956fe305d2993e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/user.rs:8556-8565 | thunder/schema/user.rs:14546-14555 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/user.rs"},"region":{"startLine":8556}}}],"partialFingerprints":{"codehealthFindingId/v1":"a89bda59831a429901e1ff719044eedcd0cfb9c44d6742ab1460b1d2abf23b55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/user.rs:11145-11154 | thunder/schema/user.rs:11155-11164 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/user.rs"},"region":{"startLine":11145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd3e76503daef24783f5caf2d42054488de1fbd6708fc9ce3aaac807f0086b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/user.rs:12975-12984 | thunder/schema/user.rs:13347-13356 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:12975\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":"thunder/schema/user.rs"},"region":{"startLine":12975}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4f243237ce88790be2c0c8ea3f9e421f6298d2e225680f70c5decea479f7b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): thunder/schema/user.rs:13749-13758 | thunder/schema/user.rs:13759-13768 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/user.rs"},"region":{"startLine":13749}}}],"partialFingerprints":{"codehealthFindingId/v1":"5caca3688608b39cc177a6c3388bbf18a2a5fe3a9082356b636d7eec3d0f8d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 26): phoenix-rankall/src/processor/gen/hydra.rs:185-193 | phoenix-rankall/src/processor/gen/hydra.rs:461-469 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:687-695 | thunder/schema/events.rs:624-632 | thunder/schema/events.rs:821-829 | thunder/schema/events.rs:1532-1540 | thunder/schema/events.rs:3545-3553 | thunder/schema/events.rs:3716-3724 | thunder/schema/media_entity.rs:143-151 | thunder/schema/tweet.rs:1407-1415 | thunder/schema/tweet_events.rs:115-123 | thunder/schema/tweet_events.rs:389-397 | thunder/schema/user.rs:3418-3426 | thunder/schema/user.rs:3578-3586 | thunder/schema/user.rs:4368-4376 | thunder/schema/user.rs:6040-6048 | thunder/schema/user.rs:7229-7237 | thunder/schema/user.rs:7541-7549 | thunder/schema/user.rs:8314-8322 | thunder/schema/user.rs:8997-9005 | thunder/schema/user.rs:9662-9670 | thunder/schema/user.rs:9996-10004 | thunder/schema/user.rs:10307-10315 | thunder/schema/user.rs:12680-12688 | thunder/schema/user.rs:12941-12949 | thunder/schema/user.rs:14260-14268 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/hydra.rs:185\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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"99889a386a9f57ab5af960c158a576618c7bbd17d32d35486ebd7eccdcc686d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 20): phoenix-rankall/src/processor/gen/hydra.rs:207-215 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:100-108 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:245-253 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:609-617 | thunder/schema/events.rs:1025-1033 | thunder/schema/events.rs:2937-2945 | thunder/schema/events.rs:3032-3040 | thunder/schema/events.rs:3109-3117 | thunder/schema/events.rs:3186-3194 | thunder/schema/events.rs:3263-3271 | thunder/schema/events.rs:3568-3576 | thunder/schema/events.rs:3739-3747 | thunder/schema/media_common.rs:393-401 | thunder/schema/tweet.rs:1642-1650 | thunder/schema/tweet.rs:2877-2885 | thunder/schema/tweet.rs:3730-3738 | thunder/schema/user.rs:6121-6129 | thunder/schema/user.rs:7891-7899 | thunder/schema/user.rs:9690-9698 | thunder/schema/user.rs:10789-10797 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/hydra.rs:207\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/user.rs:7889\u0060 calls \u0060Some\u0060 and \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:98\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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5392cd766319e9a5c92fd2ce2e0c4539e6bb5d8bfe1a4bce60ddbe59916694c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 17): phoenix-rankall/src/processor/gen/hydra.rs:354-362 | phoenix-rankall/src/processor/gen/scored_candidate.rs:316-324 | thunder/schema/tweet.rs:1866-1874 | thunder/schema/tweet.rs:1930-1938 | thunder/schema/tweet.rs:3432-3440 | thunder/schema/tweet.rs:3848-3856 | thunder/schema/tweet.rs:4165-4173 | thunder/schema/tweet.rs:4253-4261 | thunder/schema/tweet.rs:4341-4349 | thunder/schema/tweet.rs:4429-4437 | thunder/schema/tweet.rs:4517-4525 | thunder/schema/tweet.rs:4605-4613 | thunder/schema/tweet.rs:5112-5120 | thunder/schema/tweet.rs:5175-5183 | thunder/schema/tweet_events.rs:1583-1591 | thunder/schema/user.rs:12472-12480 | thunder/schema/user.rs:13742-13750 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 117 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 \u0060phoenix-rankall/src/processor/gen/hydra.rs:354\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/user.rs:13740\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/tweet.rs:1864\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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da599ea6f588a5987cece48bc9c9606e0dd1dad6615f6c593faf7bdc4918858"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 15): thunder/schema/tweet.rs:1761-1769 | thunder/schema/tweet.rs:3009-3017 | thunder/schema/tweet.rs:4164-4172 | thunder/schema/tweet.rs:4252-4260 | thunder/schema/tweet.rs:4340-4348 | thunder/schema/tweet.rs:4428-4436 | thunder/schema/tweet.rs:4516-4524 | thunder/schema/tweet.rs:4604-4612 | thunder/schema/user.rs:7263-7271 | thunder/schema/user.rs:8338-8346 | thunder/schema/user.rs:8774-8782 | thunder/schema/user.rs:8841-8849 | thunder/schema/user.rs:10018-10026 | thunder/schema/user.rs:10345-10353 | thunder/schema/user.rs:12374-12382 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1761\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet.rs:1758\u0060 calls \u0060Some\u0060, \u0060to_owned\u0060 and \u0060thunder/schema/user.rs:10016\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/tweet.rs"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"909bfef7be38fafb136a1221ab0f1e3552bfc232ae15e0dacda60e8cbce7a1f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 13): phoenix-rankall/src/processor/gen/hydra.rs:485-493 | phoenix-rankall/src/processor/gen/scored_candidate.rs:315-323 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:716-724 | thunder/schema/events.rs:2852-2860 | thunder/schema/tweet.rs:2379-2387 | thunder/schema/tweet.rs:3847-3855 | thunder/schema/user.rs:4841-4849 | thunder/schema/user.rs:5858-5866 | thunder/schema/user.rs:11040-11048 | thunder/schema/user.rs:11233-11241 | thunder/schema/user.rs:11691-11699 | thunder/schema/user.rs:13634-13642 | thunder/schema/user.rs:14120-14128 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 117 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 \u0060phoenix-rankall/src/processor/gen/hydra.rs:485\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet.rs:2377\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/user.rs:4839\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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d0a782a7b2b6005aa5466d52535aa46137efe5a764ebed5bef1a1957362923"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 11): thunder/schema/media_common.rs:573-581 | thunder/schema/tweet.rs:695-703 | thunder/schema/tweet.rs:845-853 | thunder/schema/tweet.rs:1239-1247 | thunder/schema/tweet.rs:1999-2007 | thunder/schema/tweet.rs:2079-2087 | thunder/schema/tweet.rs:3343-3351 | thunder/schema/tweet_media.rs:486-494 | thunder/schema/user.rs:3352-3360 | thunder/schema/user.rs:11397-11405 | thunder/schema/user.rs:11541-11549 \u2014 before extracting anything, compare \u0060thunder/schema/media_common.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 235 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 \u0060thunder/schema/media_common.rs:573\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet.rs:694\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/media_common.rs:572\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":"thunder/schema/media_common.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"895bc93f545b58949e4bd43491c42d9475433be0ed417e821dfa08decbfeff20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 10): thunder/schema/events.rs:2073-2081 | thunder/schema/events.rs:2269-2277 | thunder/schema/events.rs:2362-2370 | thunder/schema/tweet.rs:1155-1163 | thunder/schema/tweet.rs:1293-1301 | thunder/schema/tweet.rs:3255-3263 | thunder/schema/tweet.rs:4095-4103 | thunder/schema/tweet_events.rs:1026-1034 | thunder/schema/user.rs:4695-4703 | thunder/schema/user.rs:10152-10160 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:2073\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/events.rs:2266\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/tweet.rs:1292\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":2073}}}],"partialFingerprints":{"codehealthFindingId/v1":"b669f6308e44b069d99b7203ad1aaf2140ac2e9a0a3e85eb0d163b1c678272ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 10): thunder/schema/events.rs:4044-4052 | thunder/schema/tweet.rs:2454-2462 | thunder/schema/tweet.rs:2796-2804 | thunder/schema/user.rs:10874-10882 | thunder/schema/user.rs:11138-11146 | thunder/schema/user.rs:11328-11336 | thunder/schema/user.rs:11472-11480 | thunder/schema/user.rs:11616-11624 | thunder/schema/user.rs:11786-11794 | thunder/schema/user.rs:13256-13264 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:4044\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/user.rs:11136\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/events.rs:4042\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":"thunder/schema/events.rs"},"region":{"startLine":4044}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8a658ae39797f8444d5498fb5d559d34c791d41cb302195af45fd5405b6b4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): thunder/schema/events.rs:1604-1612 | thunder/schema/tweet.rs:1495-1503 | thunder/schema/user.rs:9899-9907 | thunder/schema/user.rs:9909-9917 | thunder/schema/user.rs:9919-9927 | thunder/schema/user.rs:10705-10713 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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. 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":"thunder/schema/events.rs"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"4faec267f48bbb316e1c595260b28335f2d2526fe1b60d86126c8d31f165cac8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): phoenix-rankall/src/processor/gen/hydra.rs:69-77 | thunder/schema/events.rs:295-303 | thunder/schema/tweet.rs:1865-1873 | thunder/schema/tweet.rs:1929-1937 | thunder/schema/tweet.rs:5174-5182 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/hydra.rs:69\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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0152449dbb7c1a5adcca6c408fb3aa186f5a2285978b03172669124c335a6763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 5): phoenix-rankall/src/processor/gen/hydra.rs:361-369 | phoenix-rankall/src/processor/gen/hydra.rs:372-380 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:271-278 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:728-735 | thunder/schema/user.rs:5070-5077 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/hydra.rs:361\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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bfb7b09d8474bf43244bf4a91e97f452fff37c97576369557dbf4bb906fd09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): thunder/schema/media_common.rs:515-523 | thunder/schema/tweet.rs:1455-1463 | thunder/schema/user.rs:5179-5187 | thunder/schema/user.rs:13068-13076 | thunder/schema/user.rs:13368-13376 \u2014 before extracting anything, compare \u0060thunder/schema/media_common.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 235 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 \u0060thunder/schema/media_common.rs:515\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":"thunder/schema/media_common.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac790fe7281b517e3e82c8121735d6c73f893711640d15e1956ec4f6a3ed79b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): home-mixer/clients/author_brand_safety_client.rs:61-69 | home-mixer/clients/post_v8_search_embedding_client.rs:38-46 | home-mixer/clients/recent_search_queries_store_client.rs:32-40 | home-mixer/clients/resurrection_date_client.rs:75-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060home-mixer/clients/author_brand_safety_client.rs:70\u0060 calls \u0060no_batch\u0060 and \u0060home-mixer/clients/post_v8_search_embedding_client.rs:47\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/author_brand_safety_client.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cd15f40b4b56d94bfc5a4fb8d7e9fe71857ad4ad0b02dcf03bf20db6633bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): thunder/schema/events.rs:774-782 | thunder/schema/events.rs:971-979 | thunder/schema/events.rs:3678-3686 | thunder/schema/events.rs:3849-3857 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:774\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":"thunder/schema/events.rs"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"d685d1bdf304342a7d6709ab3a6da25114bb8ceb9fa8b4668a454c6844d1c6c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): thunder/schema/events.rs:1220-1228 | thunder/schema/events.rs:1274-1282 | thunder/schema/events.rs:4015-4023 | thunder/schema/tweet.rs:4064-4072 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:1220\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":"thunder/schema/events.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc4f673d12151e4f68f489b862cdf2238da320ae6e1ca7b815c2d11c3d0a999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): thunder/schema/events.rs:2073-2081 | thunder/schema/events.rs:2269-2277 | thunder/schema/events.rs:2362-2370 | thunder/schema/tweet.rs:1062-1070 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:2073\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":"thunder/schema/events.rs"},"region":{"startLine":2073}}}],"partialFingerprints":{"codehealthFindingId/v1":"47767e9bd1ad4ffe6072137962302c31567f37689101369ba47761cbb0a7aa9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): thunder/schema/tweet.rs:3531-3539 | thunder/schema/user.rs:4618-4626 | thunder/schema/user.rs:12560-12568 | thunder/schema/user.rs:13894-13902 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:3531\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/user.rs:4616\u0060 calls \u0060Some\u0060, \u0060to_owned\u0060 and \u0060thunder/schema/tweet.rs:3529\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":"thunder/schema/tweet.rs"},"region":{"startLine":3531}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc18f22d17ed36725f61587f42f979037f2c1972c67395e5925d9dcadce563fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 3): abuse-enforcement-service/service-lib/src/action_control.rs:93-101 | abuse-enforcement-service/service-lib/src/action_control.rs:105-113 | abuse-enforcement-service/service-lib/src/action_control.rs:2195-2201 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b394a3f226c8c2054e356be36efc57f89c7d93a626e2cdbbeb2bce61229411a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): abuse-enforcement-service/service-lib/src/service.rs:2234-2242 | abuse-enforcement-service/service-lib/src/service.rs:2381-2389 | abuse-enforcement-service/service-lib/src/service.rs:2620-2628 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060abuse-enforcement-service/service-lib/src/service.rs:2234\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":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":2234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d6ece74694f75cdcb601828e74fc7404c79a5a2f6027baeca69f3a63c20b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): phoenix-rankall/src/main.rs:80-88 | phoenix-rankall/src/main.rs:103-111 | phoenix-rankall/src/main.rs:125-133 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/main.rs:80\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/main.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6031d043ad3ee710f523b2b624c9db07faa796eb50ddd1efc5b1f666f6054959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): phoenix-rankall/src/main.rs:90-98 | phoenix-rankall/src/main.rs:113-121 | phoenix-rankall/src/main.rs:135-143 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/main.rs:90\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":"phoenix-rankall/src/main.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ae23c1716b3f5fd77ff568bbd29da8c1bb06eeb89433d1ba2202405f2e80d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:358-366 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:495-503 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:572-580 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9a6ace2d5c51569b00595f17cc5618a5c46fc4fa1fe97329c602d123311497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): thunder/schema/events.rs:1588-1596 | thunder/schema/tweet_events.rs:938-946 | thunder/schema/user.rs:5004-5012 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 328 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 \u0060thunder/schema/events.rs:1588\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":"thunder/schema/events.rs"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a626fc9b589d36d00078ba0069db6bc6b12c65b4feda3891e7dbbf7147d7302"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): thunder/schema/media_common.rs:508-516 | thunder/schema/user.rs:5790-5798 | thunder/schema/user.rs:10941-10949 \u2014 before extracting anything, compare \u0060thunder/schema/media_common.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 25 separate duplicated blocks between them, totalling at least 280 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 \u0060thunder/schema/media_common.rs:508\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/user.rs:10939\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/media_common.rs:506\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":"thunder/schema/media_common.rs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"9289725c3d0c3374f60e9da4319f2b9db893549bf6873c206a933a120bf0308d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): thunder/schema/tweet.rs:2310-2318 | thunder/schema/tweet.rs:2424-2432 | thunder/schema/user.rs:11298-11306 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:2310\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":"thunder/schema/tweet.rs"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ff00872975339438e5412bc299b4dcac29f375b4d509ea0afdc34815a149e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): thunder/schema/tweet.rs:2682-2690 | thunder/schema/tweet_events.rs:828-836 | thunder/schema/tweet_events.rs:923-931 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:2682\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":"thunder/schema/tweet.rs"},"region":{"startLine":2682}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5594bb93c5dce29a468dde309a52098fe54c7fe5066727ff0965dc9d5f6db7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): thunder/schema/tweet.rs:2795-2803 | thunder/schema/tweet_events.rs:674-682 | thunder/schema/tweet_events.rs:1215-1223 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:2795\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/tweet_events.rs:672\u0060 calls \u0060Some\u0060 and \u0060thunder/schema/tweet.rs:2794\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":"thunder/schema/tweet.rs"},"region":{"startLine":2795}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedd3bd12260d62b76128291f1885b01b02599cff7c57f272588800087a1ddc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): thunder/schema/tweet_events.rs:1519-1527 | thunder/schema/user.rs:3877-3885 | thunder/schema/user.rs:7001-7009 \u2014 before extracting anything, compare \u0060thunder/schema/tweet_events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 353 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 \u0060thunder/schema/tweet_events.rs:1519\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/user.rs:3875\u0060 calls \u0060Some\u0060, \u0060to_owned\u0060 and \u0060thunder/schema/tweet_events.rs:1518\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":"thunder/schema/tweet_events.rs"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"99afcfc6013ddd1c2554a20befbd505846bf694eb1cdabb4ed979cfee3457ab4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): abuse-enforcement-service/service-lib/src/action_control.rs:811-819 | abuse-enforcement-service/service-lib/src/dedup_cache.rs:145-153 \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. 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":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"2220042fe1314d10cc64214b33e84dc2f7c513ac453ece9a32ec38491613456b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): abuse-enforcement-service/service-lib/src/action_control.rs:1540-1548 | abuse-enforcement-service/service-lib/src/off_switch.rs:344-352 \u2014 before extracting anything, compare \u0060abuse-enforcement-service/service-lib/src/action_control.rs\u0060 and \u0060abuse-enforcement-service/service-lib/src/off_switch.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 49 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 \u0060abuse-enforcement-service/service-lib/src/action_control.rs:1540\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":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ac7fc0db851f00a52d9a9af3e147c20863b5024bbc03efee826ece79bbe515"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): abuse-enforcement-service/service-lib/src/service.rs:1219-1228 | abuse-enforcement-service/service-lib/src/service.rs:1265-1274 \u2014 both copies are in the same file, so extract the block 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 \u0060abuse-enforcement-service/service-lib/src/service.rs:1219\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":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52cb054cc4cf9a027609970d1f7b311ad32f7e6569dd89f42f2083394ee87cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): abuse-enforcement-service/service-lib/src/service.rs:1549-1557 | abuse-enforcement-service/service-lib/src/service.rs:2000-2008 \u2014 both copies are in the same file, so extract the block 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 \u0060abuse-enforcement-service/service-lib/src/service.rs:1549\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":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b7f50eaf3d11937909c079a01cf5d1b1f91d56e3dcab785afb1e630b9a91f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): abuse-enforcement-service/service-lib/src/service.rs:1628-1636 | abuse-enforcement-service/service-lib/src/service.rs:2100-2108 \u2014 both copies are in the same file, so extract the block 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 \u0060abuse-enforcement-service/service-lib/src/service.rs:1628\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":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"e364979081196a06b84f2c7e439944301caab2a8ff64c7b9ec10a43add26b3a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): home-mixer/ads/partition_organic_blender.rs:117-125 | home-mixer/ads/time_gap_blender.rs:130-138 \u2014 before extracting anything, compare \u0060home-mixer/ads/partition_organic_blender.rs\u0060 and \u0060home-mixer/ads/time_gap_blender.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 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 \u0060home-mixer/ads/partition_organic_blender.rs:117\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060home-mixer/ads/partition_organic_blender.rs:126\u0060 calls \u0060default\u0060 and \u0060home-mixer/ads/time_gap_blender.rs:139\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":"home-mixer/ads/partition_organic_blender.rs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0023c8d91bc5363b46c8d8a53a4d91efcd288a6db3c0f9b3894d84117b833b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): home-mixer/candidate_hydrators/core_data_candidate_hydrator.rs:67-75 | home-mixer/candidate_hydrators/core_data_candidate_hydrator.rs:79-87 \u2014 both copies are in the same file, so extract the block 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 \u0060home-mixer/candidate_hydrators/core_data_candidate_hydrator.rs:67\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/core_data_candidate_hydrator.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc3106d3ac7e76a2735c42c88616321606e7f5a4a077b74fb9a58a59be1f409"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): home-mixer/clients/vm_ranker_client.rs:132-140 | home-mixer/clients/vm_ranker_client.rs:357-365 \u2014 both copies are in the same file, so extract the block 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 \u0060home-mixer/clients/vm_ranker_client.rs:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/vm_ranker_client.rs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"537df318d7224e4417ec00db14bc299e638f1d480a3e25d8e87b2ac33e0e9834"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): home-mixer/side_effects/response_diversity_stats_side_effect.rs:60-68 | home-mixer/side_effects/serendipity_stats_side_effect.rs:54-62 \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":"home-mixer/side_effects/response_diversity_stats_side_effect.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dda2467d1e2fc7de96edf37c20c4c013f9c8b013bde4de9c161e40ee12563c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): home-mixer/util/popular_authors.rs:171-179 | home-mixer/util/popular_posts.rs:208-216 \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 \u0060home-mixer/util/popular_authors.rs:171\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":"home-mixer/util/popular_authors.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88ce371e3850155619450816ed211bcd436eb4994f5695855c7d3cfac89ba97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): home-mixer/util/urt/client_event.rs:128-136 | home-mixer/util/urt/client_event.rs:145-153 \u2014 both copies are in the same file, so extract the block 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 \u0060home-mixer/util/urt/client_event.rs:128\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":"home-mixer/util/urt/client_event.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac099f45ce4b659a63c5cf55d2ea6ea9ca46a3dc03490f30c01e2b6fc86425c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix-rankall/src/processor/metadata_processor.rs:27-35 | phoenix-rankall/src/processor/sid_tail_processor.rs:46-54 \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 \u0060phoenix-rankall/src/processor/metadata_processor.rs:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/metadata_processor.rs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"00aa6c34f8ba1bc5c8c5af4511891bb99e1bff193c03350c8b943baf484d9d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix-rankall/src/processor/record.rs:85-93 | phoenix-rankall/src/processor/record.rs:96-104 \u2014 both copies are in the same file, so extract the block 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":"phoenix-rankall/src/processor/record.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f81c984ed915e08931cb5d8327f835b73428ee707b2c69c62da43aacd27fc68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix-rankall/src/store/base.rs:440-448 | phoenix-rankall/src/store/base.rs:614-622 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix-rankall/src/store/base.rs:440\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":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e9adb6576173169cc057488a903e51c8fd8456ce6f420032c272e554f3ae41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix-rankall/src/store/base.rs:1260-1268 | phoenix-rankall/src/store/base.rs:1277-1285 \u2014 both copies are in the same file, so extract the block 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":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2b68a0d3819b302df7e0788e601fe3fa0d85e2192c137c6e70d780a9041140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/crates/common/xai-recsys/src/util.rs:1824-1832 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:396-404 \u2014 before extracting anything, compare \u0060phoenix/crates/common/xai-recsys/src/util.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/util.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/common/xai-recsys/src/util.rs:1824\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":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1824}}}],"partialFingerprints":{"codehealthFindingId/v1":"02eb8bec00b953ac1894b87f9d1f06a46061f4d670fde932ddc3b2ce0212e7d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1363-1371 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:3087-3095 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:1363\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c98a79abf323e49283864eee839afedf9950c6040988e02a379c9f0ce311ed0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1596-1604 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2415-2423 \u2014 both copies are in the same file, so extract the block 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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1596}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e471079bdb9ded90e6f892e8881b34350244fee6fdf6e1b6a92370d5b08095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1983-1991 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2585-2593 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:1983\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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c007fd8149957ad5a65d5fe0beb6734a88806d117e7d5e2de999e3aedd4612d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:2026-2034 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2741-2749 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:2026\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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"6535fad31c80b345093dff245a3f45adc29b3a885a223fabd7db83809aa68b12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:623-631 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:907-915 \u2014 both copies are in the same file, so extract the block 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":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27ef5a1bab8245ae8775dafbcd22709ce6916760df039810a559f936ff63cfb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:648-660 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:932-944 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:648\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":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93f023c7853045762e203dbe00665c9c7534ea2f81991a54daf441f909206bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:264-272 | thunder/schema/user.rs:3780-3788 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:264\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4794e1c0c40c0e84f6c8b730874a040eb95e057a29b41c51e672c48b29a2e98d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): safety-label-source/connect.rs:191-199 | visibility-filtering/server_deps.rs:71-79 \u2014 before extracting anything, compare \u0060safety-label-source/connect.rs\u0060 and \u0060visibility-filtering/server_deps.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 38 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060safety-label-source/connect.rs:191\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":"safety-label-source/connect.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf789fb74336e93a6c03aace353df097de29174e0421ad7542453a6af9785f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): thunder/schema/events.rs:295-303 | thunder/schema/user.rs:3757-3765 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 49 separate duplicated blocks between them, totalling at least 510 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 \u0060thunder/schema/events.rs:295\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bc4e2e31297f2ffc8eba15f268c0bab8b170882fae49359a87ebd9c3b88260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): thunder/schema/tweet.rs:5385-5393 | thunder/schema/user.rs:4398-4406 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:5385\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":"thunder/schema/tweet.rs"},"region":{"startLine":5385}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f855abf03d017b564ba66b03120955d26342fc2d7005974421f1d4d22db5556"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): thunder/schema/user.rs:3275-3283 | thunder/schema/user.rs:4133-4141 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:3275\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":"thunder/schema/user.rs"},"region":{"startLine":3275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b515c67123b6bf227a8b8fac672a3ac945ad9aed81072b01213f82117104ae64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 18): phoenix-rankall/src/processor/gen/hydra.rs:91-98 | phoenix-rankall/src/processor/gen/scored_candidate.rs:325-332 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:263-269 | thunder/schema/events.rs:313-319 | thunder/schema/events.rs:1639-1645 | thunder/schema/events.rs:4053-4059 | thunder/schema/tweet.rs:1875-1881 | thunder/schema/tweet.rs:1939-1945 | thunder/schema/tweet.rs:3857-3863 | thunder/schema/tweet.rs:4174-4180 | thunder/schema/tweet.rs:4262-4268 | thunder/schema/tweet.rs:4350-4356 | thunder/schema/tweet.rs:4438-4444 | thunder/schema/tweet.rs:4526-4532 | thunder/schema/tweet.rs:4614-4620 | thunder/schema/tweet.rs:5184-5190 | thunder/schema/user.rs:3779-3785 | thunder/schema/user.rs:3789-3795 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 117 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 \u0060phoenix-rankall/src/processor/gen/hydra.rs:91\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. 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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"e696a8547068fa30a62ce9061870c4fea392d2784208b831ddb6bea2a8819a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 14): thunder/schema/events.rs:259-266 | thunder/schema/events.rs:426-433 | thunder/schema/events.rs:506-513 | thunder/schema/events.rs:586-593 | thunder/schema/events.rs:743-750 | thunder/schema/events.rs:940-947 | thunder/schema/events.rs:2132-2139 | thunder/schema/events.rs:2230-2237 | thunder/schema/events.rs:2318-2325 | thunder/schema/events.rs:2411-2418 | thunder/schema/events.rs:2576-2583 | thunder/schema/events.rs:2749-2756 | thunder/schema/events.rs:3652-3659 | thunder/schema/events.rs:3823-3830 \u2014 all 14 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:259\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":"thunder/schema/events.rs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd717a21aebc5b5740c925fc7db82e742beedd50d44a25dfe2f4dfb9db84cdbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): thunder/schema/events.rs:778-785 | thunder/schema/events.rs:975-982 | thunder/schema/events.rs:1419-1426 | thunder/schema/events.rs:3682-3689 | thunder/schema/events.rs:3853-3860 | thunder/schema/tweet_events.rs:1168-1175 | thunder/schema/tweet_events.rs:1275-1282 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 328 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 \u0060thunder/schema/events.rs:778\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":"thunder/schema/events.rs"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7c7f67638b7413098786b8d629104a1e515649c7a5f80d9286a96950b474bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): thunder/schema/events.rs:1603-1610 | thunder/schema/tweet.rs:1494-1501 | thunder/schema/user.rs:5018-5025 | thunder/schema/user.rs:9898-9905 | thunder/schema/user.rs:9908-9915 | thunder/schema/user.rs:9918-9925 | thunder/schema/user.rs:10704-10711 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:1603\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":"thunder/schema/events.rs"},"region":{"startLine":1603}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef754ae363bcc3d93e1c593f45f5c3ac785552ecda328af77f597444eefd595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): thunder/schema/tweet.rs:956-963 | thunder/schema/tweet_events.rs:571-578 | thunder/schema/tweet_events.rs:719-726 | thunder/schema/tweet_events.rs:973-980 | thunder/schema/tweet_events.rs:1070-1077 | thunder/schema/user.rs:12813-12820 | thunder/schema/user.rs:13117-13124 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:956\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":"thunder/schema/tweet.rs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fb930189f3b0f206dab100c303391b90bf4168f0832aa7308b3bd3155d1587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): thunder/schema/events.rs:254-261 | thunder/schema/events.rs:421-428 | thunder/schema/events.rs:501-508 | thunder/schema/events.rs:581-588 | thunder/schema/events.rs:2122-2129 | thunder/schema/events.rs:2220-2227 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:254\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b2ae6325952f187b540cec4b38e396f6d9bc3b479cd37970ddf806d518a788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): thunder/schema/events.rs:738-745 | thunder/schema/events.rs:935-942 | thunder/schema/events.rs:1096-1103 | thunder/schema/events.rs:3647-3654 | thunder/schema/events.rs:3818-3825 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:738\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":"thunder/schema/events.rs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"923fa9a9ad64273479b8c6d9be1c117bd055a97243c075afabb64b60b0d908c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): thunder/schema/events.rs:2127-2134 | thunder/schema/events.rs:2225-2232 | thunder/schema/events.rs:2313-2320 | thunder/schema/events.rs:2406-2413 | thunder/schema/events.rs:2499-2506 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:2127\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":"thunder/schema/events.rs"},"region":{"startLine":2127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd08b5fafb75e17c25850586b0ffe0eaa5af94f01e1cb96c14db79df2e5433f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): thunder/schema/tweet.rs:1545-1552 | thunder/schema/tweet.rs:2309-2316 | thunder/schema/tweet.rs:2423-2430 | thunder/schema/tweet.rs:2750-2757 | thunder/schema/user.rs:10838-10845 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1545\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":"thunder/schema/tweet.rs"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb88f14f2264296758a0cac6789fa3c124174499f8e03a4a1d531726ffce089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): phoenix/crates/common/xai-recsys/src/util.rs:1232-1239 | phoenix/crates/common/xai-recsys/src/util.rs:1588-1595 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:51-58 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:247-254 \u2014 before extracting anything, compare \u0060phoenix/crates/common/xai-recsys/src/util.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/util.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8841d897c16dffe00af7b40d7f3b489ffcd20d1ed432ee8c03edd06e686db615"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): phoenix/crates/serving/xai-recsys-engine/src/python.rs:2210-2218 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2222-2229 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2233-2240 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2244-2251 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:2210\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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3616d84eef1d0567b36d18b300fa2ef745dbb443b771f2705051c306c583af83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): thunder/schema/events.rs:2137-2144 | thunder/schema/events.rs:2323-2330 | thunder/schema/events.rs:2416-2423 | thunder/schema/events.rs:2504-2511 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:2137\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":"thunder/schema/events.rs"},"region":{"startLine":2137}}}],"partialFingerprints":{"codehealthFindingId/v1":"891dc3357be8b2637c51e00fc528fe51636110e47fba1de9df944071a7b3f2ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): thunder/schema/tweet.rs:2312-2319 | thunder/schema/tweet.rs:2426-2433 | thunder/schema/user.rs:4877-4884 | thunder/schema/user.rs:11300-11307 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:2312\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":"thunder/schema/tweet.rs"},"region":{"startLine":2312}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd488dde10963319ab1d8575c1d05b8e0cb36b18db41ed752ffffb05dc021fc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): thunder/schema/tweet.rs:2805-2812 | thunder/schema/tweet_events.rs:692-699 | thunder/schema/tweet_events.rs:1241-1248 | thunder/schema/tweet_events.rs:1592-1599 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:2805\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":"thunder/schema/tweet.rs"},"region":{"startLine":2805}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafe53b69335b9ca6f270b51825a72fd5ba103aa1433dee4669328841da2bdf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): thunder/schema/user.rs:5759-5766 | thunder/schema/user.rs:12314-12321 | thunder/schema/user.rs:13688-13695 | thunder/schema/user.rs:14543-14550 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:5759\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":"thunder/schema/user.rs"},"region":{"startLine":5759}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcaed9b2f7b32b0196bfc4e670ea8631a545a8a9042484cfc2765948690ff0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): visibility-filtering/hydration/store/key_origin.rs:188-195 | visibility-filtering/hydration/store/key_origin.rs:201-208 | visibility-filtering/hydration/store/key_origin.rs:361-368 | visibility-filtering/hydration/store/key_origin.rs:374-381 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060visibility-filtering/hydration/store/key_origin.rs:188\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/store/key_origin.rs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddd8b22041e3351195ec15bb9d011a9867db2b387a06c99bde6a84ce5e63ec9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): home-mixer/candidate_pipeline/following_candidate_pipeline.rs:246-255 | home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs:290-299 | home-mixer/candidate_pipeline/ranked_following_candidate_pipeline.rs:187-196 \u2014 before extracting anything, compare \u0060home-mixer/candidate_pipeline/following_candidate_pipeline.rs\u0060 and \u0060home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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":"home-mixer/candidate_pipeline/following_candidate_pipeline.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"04eb7b667ac64ed9457204cec863f144e7d4bc21c64a63adcdc4c75e230bcc4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): home-mixer/following_feed_server.rs:60-67 | home-mixer/for_you_server.rs:85-92 | home-mixer/ranked_following_feed_server.rs:48-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/following_feed_server.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e138e4e42573787b76b4db1ce42f95d0766dc0b346e1d3a3b0796db6f2f0434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): phoenix-rankall/src/processor/gen/hydra.rs:119-126 | phoenix-rankall/src/processor/gen/hydra.rs:554-561 | phoenix-rankall/src/processor/gen/scored_candidate.rs:161-168 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 117 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 \u0060phoenix-rankall/src/processor/gen/hydra.rs:119\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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e31bbb6d700efc6f6d9547fc6b4787fcf4c100d0e7fd4a7beba5462ffa67ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20138 lines \u00D7 4): phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:164-166 | phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:180-187 | phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:193-200 | phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:202-209 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:180\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:202\u0060 calls \u0060vst4q_u64\u0060, \u0060add\u0060, \u0060vld4q_u64\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:211\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a024dbe50eb2ed2d1c73728d2cd0f6f959e2342c2decbbcab15ed7262dc7143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): phoenix/crates/serving/xai-recsys-engine/src/python.rs:514-521 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:543-550 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:571-578 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060arr\u0060 to \u0060Bound\u003C\u0027_, PyArray1\u003CT\u003E\u003E\u0060 in one and \u0060Bound\u003C\u0027_, PyArray2\u003CT\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c579d1f691bc9a97b5398b3b4760889f210c1e9714a4ce824026e7ee8c07bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): thunder/schema/events.rs:1693-1700 | thunder/schema/tweet.rs:3667-3674 | thunder/schema/tweet.rs:3804-3811 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:1693\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":"thunder/schema/events.rs"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"67959b871554a4b6f79aad7fe8b30b5961c5c6b0459c7c5e7ea465033d146157"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): thunder/schema/media_entity.rs:287-294 | thunder/schema/tweet.rs:1701-1708 | thunder/schema/user.rs:11094-11101 \u2014 before extracting anything, compare \u0060thunder/schema/media_entity.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 183 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 \u0060thunder/schema/media_entity.rs:287\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":"thunder/schema/media_entity.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c423b4aac2712ec2f2a289e58d13beee0f36c7421cebe3eb930aa6b1883ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): thunder/schema/tweet.rs:1711-1718 | thunder/schema/tweet.rs:2760-2767 | thunder/schema/user.rs:11104-11111 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1711\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":"thunder/schema/tweet.rs"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb4953e95ccfd381f456c484e8da6af5228874dd304e591ccdf6e5d0ce4cdbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): thunder/schema/user.rs:4527-4534 | thunder/schema/user.rs:13182-13189 | thunder/schema/user.rs:14164-14171 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:4527\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":"thunder/schema/user.rs"},"region":{"startLine":4527}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a14cd13a0a90da74be8cf83e1d51aef73496a3c329fe460fbd80af4385371d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): abuse-enforcement-service/service-lib/src/action_control.rs:1303-1310 | abuse-enforcement-service/service-lib/src/head_guard.rs:488-495 \u2014 before extracting anything, compare \u0060abuse-enforcement-service/service-lib/src/action_control.rs\u0060 and \u0060abuse-enforcement-service/service-lib/src/head_guard.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 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 \u0060abuse-enforcement-service/service-lib/src/action_control.rs:1303\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e510463d7ac3302b8b92ca4d452a574bd8ac4fb205202a6f47406d43d70e45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): abuse-enforcement-service/service-lib/src/action_control.rs:1582-1589 | abuse-enforcement-service/service-lib/src/off_switch.rs:391-398 \u2014 before extracting anything, compare \u0060abuse-enforcement-service/service-lib/src/action_control.rs\u0060 and \u0060abuse-enforcement-service/service-lib/src/off_switch.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 49 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 \u0060abuse-enforcement-service/service-lib/src/action_control.rs:1582\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":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1e7efd01f8132f8043dbb391baeff4bd17577f088423ff86bfd3614f956846"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): abuse-enforcement-service/service-lib/src/action_control.rs:2012-2019 | abuse-enforcement-service/service-lib/src/head_guard.rs:732-739 \u2014 before extracting anything, compare \u0060abuse-enforcement-service/service-lib/src/action_control.rs\u0060 and \u0060abuse-enforcement-service/service-lib/src/head_guard.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 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 \u0060abuse-enforcement-service/service-lib/src/action_control.rs:2012\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":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":2012}}}],"partialFingerprints":{"codehealthFindingId/v1":"30824e3fc35eafe89940f1ceba1961a9e05027c4f11bbd33ef24a4a1cdb88874"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): home-mixer/ads/partition_organic_blender.rs:190-199 | home-mixer/ads/time_gap_blender.rs:168-177 \u2014 before extracting anything, compare \u0060home-mixer/ads/partition_organic_blender.rs\u0060 and \u0060home-mixer/ads/time_gap_blender.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 144 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 \u0060home-mixer/ads/partition_organic_blender.rs:190\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":"home-mixer/ads/partition_organic_blender.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfd5ab963dd7d3ab7cb1b2e41d612b472b8eec4125d7c1fef2041f980b0b491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): home-mixer/candidate_hydrators/ads_brand_safety_vf_hydrator.rs:161-168 | home-mixer/candidate_hydrators/ads_brand_safety_vf_hydrator.rs:171-178 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060home-mixer/candidate_hydrators/ads_brand_safety_vf_hydrator.rs:161\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":"home-mixer/candidate_hydrators/ads_brand_safety_vf_hydrator.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9edd9539a5e7769f8dd93d06264b2d11308e01713b3d9012576f30bf284edb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs:1049-1056 | home-mixer/candidate_pipeline/phoenix_scores_pipeline.rs:387-394 \u2014 before extracting anything, compare \u0060home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs\u0060 and \u0060home-mixer/candidate_pipeline/phoenix_scores_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 162 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, \u0060home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs:1059\u0060 calls \u0060unwrap\u0060 and \u0060home-mixer/candidate_pipeline/phoenix_scores_pipeline.rs:395\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"c722da5928c23d559e4ebb584476e7713618b5bc46361faac70e4787fb0775b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): home-mixer/scored_posts_server.rs:113-127 | home-mixer/sources/reverse_chron_posts_source.rs:58-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060home-mixer/scored_posts_server.rs:113\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":"home-mixer/scored_posts_server.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c368c96d8791e48f75da92a32c711ee95cd378c2a049f90298be716fd890449"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 2): home-mixer/sources/jetfuel_direct_frame_source.rs:21-28 | home-mixer/util/under_the_hood.rs:100-105 \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. 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":"home-mixer/sources/jetfuel_direct_frame_source.rs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8fbfc77e01bad65f7694f78ff157432ca6a293b9fd41c0fac2a2ee0552a5f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): home-mixer/util/urt/mod.rs:146-153 | home-mixer/util/urt/reverse_chron_following/mod.rs:95-103 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060home-mixer/util/urt/reverse_chron_following/mod.rs:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/mod.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c529808b30194de6e0a61f4f87e0dca76913e9753b3dc464fe92e09f3fb053df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20138 lines \u00D7 5): phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:241-243 | phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:257-264 | phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:270-277 | phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:279-282 | phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:284-286 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:257\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":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"05126b37d43b98ba8b9007f666025ed20ee0dca0860fde148f0e337459ed7183"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1901-1908 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2516-2523 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:1901\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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1901}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfd95048183cd1f35e56e3ba2c27710c0cedccb15ae1bdcca9d46c3c1744e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:2305-2312 | phoenix/crates/serving/xai-recsys-engine/src/request_metrics.rs:543-550 \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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":2305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f166c77c9de02a8060450ccf87f303a9b00007c212ac53936b12390a7e0b4311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:711-719 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:985-993 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:711\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, \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:984\u0060 calls \u0060starts_with\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:710\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":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5491cc1a20ed80f9917531916c6aecba7726fb53819f6a933b2d4a849663c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:133-142 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:642-651 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:133\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":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19b351249b369506fc4948010ea3cd46b7dae8b9fb9c45035140a9d773d4bbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:384-391 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:566-573 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:384\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":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9cd20da33f176862fe85505bea3addb2460113ae266707543b035782143434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:850-857 | thunder/schema/tweet.rs:3789-3796 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:850\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":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eba4a7d6977a5db3f4c4586fd9d953aabce8681208fe9f7ec70af3386c00395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): thunder/schema/tweet.rs:1204-1211 | thunder/schema/tweet.rs:1535-1542 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/tweet.rs:1204\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":"thunder/schema/tweet.rs"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23e4d501e05a6ffbeb417bc0006745b8bc7cdc228d785e19bf38e32631a0ca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): thunder/schema/tweet.rs:2299-2306 | thunder/schema/tweet_events.rs:795-802 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:2299\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":"thunder/schema/tweet.rs"},"region":{"startLine":2299}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc05d936be636b9dd8b3dc856a98d1ec5c552e010c0c664bb8de8da3630c7df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): thunder/schema/tweet.rs:2755-2762 | thunder/schema/user.rs:4532-4539 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:2755\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":"thunder/schema/tweet.rs"},"region":{"startLine":2755}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab498fab5cc9741ace033718887ef89d906e6e661712ce6cb3d89dc806be5c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): thunder/schema/tweet.rs:3175-3182 | thunder/schema/user.rs:4323-4330 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:3175\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":"thunder/schema/tweet.rs"},"region":{"startLine":3175}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bbe9db3fe7a3855d215ec5080e5d37f42b1335879e51e88b3bd88660fd3a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): thunder/schema/user.rs:4177-4184 | thunder/schema/user.rs:8018-8025 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:4177\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":"thunder/schema/user.rs"},"region":{"startLine":4177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ec893001121e74bde866711bddb0dbb0c21f9bdcd06009ef29c3230efa48cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): thunder/schema/user.rs:4187-4194 | thunder/schema/user.rs:14693-14700 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:4187\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":"thunder/schema/user.rs"},"region":{"startLine":4187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d3114178a674e3b3ab904613ea0376a4f8c7bdfdcbf6884d29927a997530e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): thunder/schema/user.rs:10988-10995 | thunder/schema/user.rs:10998-11005 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:10988\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":"thunder/schema/user.rs"},"region":{"startLine":10988}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7578eab4a50b0ff7519b78f146f2a428710a9f65a49eca31d927c32be6b3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 20): phoenix-rankall/src/processor/gen/hydra.rs:90-96 | phoenix-rankall/src/processor/gen/scored_candidate.rs:324-330 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:262-268 | thunder/schema/events.rs:312-318 | thunder/schema/events.rs:1638-1644 | thunder/schema/events.rs:4052-4058 | thunder/schema/tweet.rs:1874-1880 | thunder/schema/tweet.rs:1938-1944 | thunder/schema/tweet.rs:3856-3862 | thunder/schema/tweet.rs:4173-4179 | thunder/schema/tweet.rs:4261-4267 | thunder/schema/tweet.rs:4349-4355 | thunder/schema/tweet.rs:4437-4443 | thunder/schema/tweet.rs:4525-4531 | thunder/schema/tweet.rs:4613-4619 | thunder/schema/tweet.rs:5183-5189 | thunder/schema/user.rs:3778-3784 | thunder/schema/user.rs:3788-3794 | thunder/schema/user.rs:5058-5064 | thunder/schema/user.rs:5309-5315 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 117 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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d37f99ce050122540f0e01261b3b94a77a7877f7b870c1f6f79d5f1d2336cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 16): thunder/schema/tweet.rs:1584-1590 | thunder/schema/tweet.rs:2488-2494 | thunder/schema/tweet.rs:5450-5456 | thunder/schema/user.rs:10751-10757 | thunder/schema/user.rs:10908-10914 | thunder/schema/user.rs:11183-11189 | thunder/schema/user.rs:11192-11198 | thunder/schema/user.rs:11362-11368 | thunder/schema/user.rs:11506-11512 | thunder/schema/user.rs:11650-11656 | thunder/schema/user.rs:11820-11826 | thunder/schema/user.rs:12511-12517 | thunder/schema/user.rs:13301-13307 | thunder/schema/user.rs:13310-13316 | thunder/schema/user.rs:13787-13793 | thunder/schema/user.rs:13796-13802 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1584\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":"thunder/schema/tweet.rs"},"region":{"startLine":1584}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b688e6081510eb63d8329822c6d04119a71ea745d7972f30e8a288dfb5f216"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 12): phoenix/crates/serving/xai-recsys-engine/src/python.rs:2165-2171 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2177-2183 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2189-2195 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2201-2207 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2213-2219 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2224-2230 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2235-2241 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2246-2252 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2675-2682 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2688-2695 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2701-2708 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2714-2721 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:2165\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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":2165}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b63e57c05cf96175d776f4697da153282adc0c7fe7da94904f8873b0f6a80d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 10): thunder/schema/events.rs:744-750 | thunder/schema/events.rs:941-947 | thunder/schema/events.rs:1857-1863 | thunder/schema/events.rs:2022-2028 | thunder/schema/events.rs:2133-2139 | thunder/schema/events.rs:2319-2325 | thunder/schema/events.rs:2412-2418 | thunder/schema/events.rs:2665-2671 | thunder/schema/events.rs:3653-3659 | thunder/schema/events.rs:3824-3830 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:744\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":"thunder/schema/events.rs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"0395262a55596c25377e0a926689769d0f2f9498ce339dc66e88bd1da0b10070"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): thunder/schema/tweet.rs:1826-1832 | thunder/schema/tweet.rs:2300-2306 | thunder/schema/tweet_events.rs:720-726 | thunder/schema/tweet_events.rs:974-980 | thunder/schema/tweet_events.rs:1071-1077 | thunder/schema/user.rs:11293-11299 | thunder/schema/user.rs:12814-12820 | thunder/schema/user.rs:13118-13124 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:1826\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":"thunder/schema/tweet.rs"},"region":{"startLine":1826}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d6d736be7a0631cfbfe89d6f8217c3dba5b26af3ad31f6e6ee7810a29947be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): phoenix-rankall/src/processor/gen/hydra.rs:134-140 | thunder/schema/events.rs:1761-1767 | thunder/schema/events.rs:4078-4084 | thunder/schema/tweet.rs:1900-1906 | thunder/schema/tweet.rs:1964-1970 | thunder/schema/user.rs:3833-3839 | thunder/schema/user.rs:3842-3848 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/hydra.rs:134\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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6db1cef0831c700bab2828fc6ce790493442c3809cb21a34f4243ca57dc2cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): thunder/schema/events.rs:754-760 | thunder/schema/events.rs:951-957 | thunder/schema/events.rs:3663-3669 | thunder/schema/events.rs:3834-3840 | thunder/schema/tweet_events.rs:214-220 | thunder/schema/tweet_events.rs:345-351 | thunder/schema/tweet_events.rs:475-481 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 328 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 \u0060thunder/schema/events.rs:754\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":"thunder/schema/events.rs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b77f64cf8a176b094030ff7efca2cb0bf49718a8b58bc03ea081b287d141997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): phoenix-rankall/src/processor/gen/scored_candidate.rs:191-197 | thunder/schema/media_entity.rs:327-333 | thunder/schema/tweet.rs:1565-1571 | thunder/schema/tweet_media.rs:652-658 | thunder/schema/tweet_media.rs:742-748 | thunder/schema/tweet_media.rs:819-825 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs:191\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ff46e52bf5a3bb332f089dfe2d425a1e19487de67f37fc34f7afe511c49149"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): thunder/schema/events.rs:1722-1728 | thunder/schema/tweet.rs:1593-1599 | thunder/schema/user.rs:9947-9953 | thunder/schema/user.rs:9956-9962 | thunder/schema/user.rs:9965-9971 | thunder/schema/user.rs:10742-10748 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:1722\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":"thunder/schema/events.rs"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"558855c6f621cec97ebc584bade1041f6e8cecb54addb79682ebe543529d6b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): thunder/schema/tweet.rs:2804-2810 | thunder/schema/tweet_events.rs:691-697 | thunder/schema/tweet_events.rs:1240-1246 | thunder/schema/tweet_events.rs:1591-1597 | thunder/schema/user.rs:5097-5103 | thunder/schema/user.rs:5289-5295 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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":"thunder/schema/tweet.rs"},"region":{"startLine":2804}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42a56b3772d4b4846237927bfe8700c18672245201d2e5bb89270be11348b7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): thunder/schema/events.rs:749-755 | thunder/schema/events.rs:946-952 | thunder/schema/events.rs:3658-3664 | thunder/schema/events.rs:3829-3835 | thunder/schema/tweet.rs:3079-3085 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:749\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":"thunder/schema/events.rs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f1a76300b01902ba5d92ae69da9c6b3ba1bc6967018775944abaa0a0d566e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): thunder/schema/events.rs:3000-3006 | thunder/schema/events.rs:3077-3083 | thunder/schema/events.rs:3154-3160 | thunder/schema/events.rs:3231-3237 | thunder/schema/events.rs:3308-3314 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/events.rs:3000\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060thunder/schema/events.rs:2997\u0060 calls \u0060write_field_end\u0060, \u0060write_field_begin\u0060, \u0060write_bool\u0060 and \u0060thunder/schema/events.rs:3076\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":3000}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e477bf559e61873a3e9a952935526ee8932dd3c99c0f0eb200cd44663825375"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 5): thunder/schema/media_common.rs:543-549 | thunder/schema/tweet.rs:1555-1561 | thunder/schema/user.rs:5563-5568 | thunder/schema/user.rs:13222-13228 | thunder/schema/user.rs:13414-13420 \u2014 before extracting anything, compare \u0060thunder/schema/media_common.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 21 separate duplicated blocks between them, totalling at least 235 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":"thunder/schema/media_common.rs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"315025af4a0cc5d3e4ea9bcb83604de997524addeccef2da0d61002e339908a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): thunder/schema/media_entity.rs:288-294 | thunder/schema/tweet.rs:1702-1708 | thunder/schema/tweet.rs:2756-2762 | thunder/schema/user.rs:4533-4539 | thunder/schema/user.rs:11095-11101 \u2014 before extracting anything, compare \u0060thunder/schema/media_entity.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 183 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 \u0060thunder/schema/media_entity.rs:288\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/media_entity.rs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdbc7222ce587f5fba0d79695e563d292467fbb882cbd7f84dd73fdb7bb20dce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): thunder/schema/tweet.rs:1821-1827 | thunder/schema/tweet.rs:2305-2311 | thunder/schema/tweet.rs:2419-2425 | thunder/schema/user.rs:4508-4514 | thunder/schema/user.rs:11288-11294 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1821\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":"thunder/schema/tweet.rs"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d3e1b48b75750f32a3b7e34350d77219ead44473e1fd6e5dcbdd5eb1fbef27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:851-857 | thunder/schema/events.rs:1752-1758 | thunder/schema/tweet.rs:2212-2218 | thunder/schema/tweet.rs:3790-3796 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:851\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":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c00f1a1612a9645b370d7f71103b17bf071a6036dc90fa603c957cad055e667"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): thunder/schema/tweet.rs:1546-1552 | thunder/schema/tweet.rs:1831-1837 | thunder/schema/tweet.rs:2751-2757 | thunder/schema/user.rs:10839-10845 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1546\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":"thunder/schema/tweet.rs"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"7262369ee59c03d7912e6e8ae4e1365796b426c8e92cd2579b34ae378d13ac10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): thunder/schema/tweet.rs:2830-2836 | thunder/schema/tweet_events.rs:729-735 | thunder/schema/tweet_events.rs:1290-1296 | thunder/schema/tweet_events.rs:1632-1638 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:2830\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":"thunder/schema/tweet.rs"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d3705ff4802fa76a51507a00112d2293fe5e7486e93c70e7df4be02db211f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): thunder/schema/user.rs:4178-4184 | thunder/schema/user.rs:8019-8025 | thunder/schema/user.rs:8559-8565 | thunder/schema/user.rs:14549-14555 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:4178\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":"thunder/schema/user.rs"},"region":{"startLine":4178}}}],"partialFingerprints":{"codehealthFindingId/v1":"1660a28a6ec60358813cf5678b12115c06aa0b6342f626489dc8dea6c9e58f73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): thunder/schema/user.rs:8554-8560 | thunder/schema/user.rs:12315-12321 | thunder/schema/user.rs:13689-13695 | thunder/schema/user.rs:14544-14550 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:8554\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":"thunder/schema/user.rs"},"region":{"startLine":8554}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a21899f2a88c7a3d75dc16ee2e17cdfd1a6f84ebb271d44a1e19227b7b7729"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): home-mixer/ads/multi_risk_blender.rs:214-220 | home-mixer/ads/partition_organic_blender.rs:150-156 | home-mixer/ads/time_gap_blender.rs:157-163 \u2014 before extracting anything, compare \u0060home-mixer/ads/multi_risk_blender.rs\u0060 and \u0060home-mixer/ads/partition_organic_blender.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 56 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":"home-mixer/ads/multi_risk_blender.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf28496c82abed0ee54e0ce2f0b0f2502c40e18c20a42f2cc70496a36e69014d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): phoenix-rankall/src/processor/gen/hydra.rs:401-407 | phoenix-rankall/src/processor/gen/hydra.rs:410-416 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:831-837 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/hydra.rs:401\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"458a5a695b2972586a5d896d97b09ead450dda5651d60735005f8153feb11c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 5): phoenix/crates/common/xai-recsys/src/util.rs:868-874 | phoenix/crates/common/xai-recsys/src/util.rs:1253-1256 | phoenix/crates/common/xai-recsys/src/util.rs:1605-1608 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:63-68 | phoenix/crates/serving/xai-recsys-engine/src/util.rs:271-276 \u2014 before extracting anything, compare \u0060phoenix/crates/common/xai-recsys/src/util.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/util.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 152 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bea45bfa7192e07e61440e3708381c675de3d7c64b0bc2281383abb11c04a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:831-837 | phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:1062-1068 | phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:1078-1084 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:831\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":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f80f1373df2e612d3e8f42ea1b245f50bde66148543e91dd7a661faa1c91ce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): thunder/schema/tweet.rs:1205-1211 | thunder/schema/tweet.rs:1536-1542 | thunder/schema/user.rs:11741-11747 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1205\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":"thunder/schema/tweet.rs"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a35cc81d06f317eb24b9c10256c5d8a0c08e33bad3576bf66b9f13886c0a53a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): thunder/schema/tweet.rs:1570-1576 | thunder/schema/user.rs:6686-6692 | thunder/schema/user.rs:12874-12880 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1570\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":"thunder/schema/tweet.rs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"73eefb873aee8f91a60062cd94a5db44c9f5254bbf13c64d3cf749530c6a68e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): thunder/schema/tweet.rs:5455-5461 | thunder/schema/tweet_events.rs:234-240 | thunder/schema/tweet_events.rs:495-501 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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 \u0060thunder/schema/tweet.rs:5455\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":"thunder/schema/tweet.rs"},"region":{"startLine":5455}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa99c6068544aeaf13e9fb3649cc646f8e64664941d34fe480cad4a2a0ea0ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): thunder/schema/user.rs:8145-8151 | thunder/schema/user.rs:12324-12330 | thunder/schema/user.rs:12333-12339 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060thunder/schema/user.rs:8145\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":"thunder/schema/user.rs"},"region":{"startLine":8145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f54166c53bd41f8ec709447268df9a49e61945e3be538048fd7978668020f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): abuse-enforcement-service/service-lib/src/service.rs:1614-1620 | abuse-enforcement-service/service-lib/src/service.rs:2076-2082 \u2014 both copies are in the same file, so extract the block 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":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fdf28543fcba4443fd9a541717d2d3604c7da6e09298c3a037269b2a4bac32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): home-mixer/candidate_pipeline/following_candidate_pipeline.rs:180-186 | home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs:216-222 \u2014 before extracting anything, compare \u0060home-mixer/candidate_pipeline/following_candidate_pipeline.rs\u0060 and \u0060home-mixer/candidate_pipeline/for_you_candidate_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 31 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 \u0060home-mixer/candidate_pipeline/following_candidate_pipeline.rs:180\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_pipeline/following_candidate_pipeline.rs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe2e0cb8cdd1ce0ac786d6692edcd2aa7b0357b8e57a26fb67aaad9426c1434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs:1035-1041 | home-mixer/candidate_pipeline/phoenix_scores_pipeline.rs:380-386 \u2014 before extracting anything, compare \u0060home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs\u0060 and \u0060home-mixer/candidate_pipeline/phoenix_scores_pipeline.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 162 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":"home-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs"},"region":{"startLine":1035}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d76a7916833f184f3b86729505346d302e08da9d24f3cddc8ef44e99837017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): home-mixer/query_hydrators/recent_views_query_hydrator.rs:52-58 | home-mixer/util/viewer_history.rs:42-48 \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 \u0060home-mixer/query_hydrators/recent_views_query_hydrator.rs:52\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060home-mixer/query_hydrators/recent_views_query_hydrator.rs:59\u0060 calls \u0060value_length\u0060, \u0060min\u0060 and \u0060home-mixer/util/viewer_history.rs:49\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":"home-mixer/query_hydrators/recent_views_query_hydrator.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d72e95d27a36244e198c37af9d8fdc610be9fcbc9d26db69e1c369eb6f1b51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): home-mixer/side_effects/phoenix_request_cache_side_effect.rs:48-54 | home-mixer/side_effects/phoenix_request_cache_side_effect.rs:77-83 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060home-mixer/side_effects/phoenix_request_cache_side_effect.rs:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/phoenix_request_cache_side_effect.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9b338afb472c920ae969dc498d7207f96cebabea2a28be925304e788963ec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): home-mixer/util/urt/mod.rs:195-202 | home-mixer/util/urt/reverse_chron_following/mod.rs:126-133 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"home-mixer/util/urt/mod.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b66b44b3aeaaba9db780c0c707715aeb020d00cacba5d2d53fa4c0686610687"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix-rankall/src/processor/gen/scored_candidate.rs:167-173 | phoenix-rankall/src/processor/gen/scored_candidate.rs:261-267 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs:167\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":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddd40fd9252946e7a537a665590f099009347fb1ded92b344d494b3880c1a7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix-rankall/src/processor/gen/scored_candidate.rs:177-183 | phoenix-rankall/src/processor/gen/scored_candidate.rs:383-389 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs:177\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":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a07d8c7f03f9ff50c7d1b832b4f7aab1cb1fe27ddb66d4cbb6e439340ab8995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix-rankall/src/store/base.rs:401-407 | phoenix-rankall/src/store/base.rs:572-578 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix-rankall/src/store/base.rs:401\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"3688ba4e6ae155ca94ee71f838448e881a7bb9974a6985df0bc1f5b9e893d701"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): phoenix/crates/common/xai-recsys/src/util.rs:1245-1256 | phoenix/crates/common/xai-recsys/src/util.rs:1597-1608 \u2014 both copies are in the same file, so extract the block 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":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1245}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e78965c99f10e4ad7058bde68c0f329682179e42964141ce0f32882cb390a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:1433-1439 | phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:1450-1456 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:1433\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":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c35bc3978beccb6c54f0009ab08de2e6ef36ba734fea635e12601066f4b7bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:412-418 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:516-522 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:419\u0060 calls \u0060clone\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:523\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":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"528949200b91ae0fa41d40f32ed8013c43454535ac4bfe7d99f5ce889ccc49c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:710-716 | thunder/schema/user.rs:12968-12974 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"266c845ef738141111d19b6bda28385b5bda62350e211423969f7711092b95c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): safety-label-source/dragonfly.rs:990-996 | safety-label-source/dragonfly.rs:1013-1019 \u2014 both copies are in the same file, so extract the block 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":"safety-label-source/dragonfly.rs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0842ce12dfcbbbb13a12e016155271671ec59ea2320d0f34563b8fe73ab9a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): thunder/schema/events.rs:1092-1098 | thunder/schema/events.rs:1348-1354 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/events.rs:1092\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":"thunder/schema/events.rs"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a25ecabe3e229b184dd22f66c92b7042845212795b4c6128f54c4431b07913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): thunder/schema/events.rs:1708-1714 | thunder/schema/tweet_events.rs:983-989 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 328 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 \u0060thunder/schema/events.rs:1708\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":"thunder/schema/events.rs"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e79dd79eabff3ba9eb4f38f10b7b88d3ab02c8f6dc23e43a890fcd72b1eaf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): thunder/schema/events.rs:2027-2033 | thunder/schema/tweet_events.rs:350-356 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 328 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 \u0060thunder/schema/events.rs:2027\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":"thunder/schema/events.rs"},"region":{"startLine":2027}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ed6c673a3c771a7b04f2bdadf9b899ad92fb3ac2c3eaf4b25de0d3393687bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): thunder/schema/tweet.rs:3173-3179 | thunder/schema/user.rs:13400-13406 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:3173\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":"thunder/schema/tweet.rs"},"region":{"startLine":3173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc04dfdf1d8138cf2e00ef0109bf5d76d7aae40c5506d415b9982c86915d693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): thunder/schema/tweet.rs:3795-3801 | thunder/schema/user.rs:6546-6552 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:3795\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":"thunder/schema/tweet.rs"},"region":{"startLine":3795}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e6292581f58a63f292a140242bd0d235d1a99d5922adfb7cacdc316adc5bc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): thunder/schema/tweet.rs:4914-4920 | thunder/schema/tweet.rs:4967-4973 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/tweet.rs:4914\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":"thunder/schema/tweet.rs"},"region":{"startLine":4914}}}],"partialFingerprints":{"codehealthFindingId/v1":"265456833eff993ee96d40ba2022d4bd86ee4b8f033872e00d2ea9975c74c3c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): thunder/schema/tweet_events.rs:841-847 | thunder/schema/user.rs:5032-5038 \u2014 before extracting anything, compare \u0060thunder/schema/tweet_events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 353 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":"thunder/schema/tweet_events.rs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8a3a8007831117e8c9f764d4e4502aee3e81edbd22ff5df49d2c2df8173f16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): thunder/schema/user.rs:5045-5051 | thunder/schema/user.rs:5329-5335 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/user.rs"},"region":{"startLine":5045}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdadbc21e9a9d9be5e7694b929836f9deed71b3fb09bc8ca6f2971762dc4e509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): thunder/schema/user.rs:9359-9365 | thunder/schema/user.rs:12834-12840 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:9359\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":"thunder/schema/user.rs"},"region":{"startLine":9359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1526b246fd6c5581b4bdefff12e5ea36ce9aacad45048ce6e090c0c6ed243860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): thunder/schema/user.rs:11751-11757 | thunder/schema/user.rs:13128-13134 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:11751\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":"thunder/schema/user.rs"},"region":{"startLine":11751}}}],"partialFingerprints":{"codehealthFindingId/v1":"45165a6d1c95db1b66b2a640bd7b5ed687207149f424e57501a0315ac0d93f35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): thunder/schema/user.rs:12849-12855 | thunder/schema/user.rs:13178-13184 \u2014 both copies are in the same file, so extract the block 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 \u0060thunder/schema/user.rs:12849\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":"thunder/schema/user.rs"},"region":{"startLine":12849}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29a12dc32c4ac3ad484d1c0a13a05088482c6e599b810bb9a0824e569044650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): visibility-filtering/hydration/store/key_origin.rs:453-459 | visibility-filtering/hydration/store/key_origin.rs:465-471 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060visibility-filtering/hydration/store/key_origin.rs:453\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":"visibility-filtering/hydration/store/key_origin.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d3fc18e788755987c11ff024c1936da5bbe73e877a19c3648aa186eaa24465"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): visibility-filtering/hydration/store/key_origin.rs:477-483 | visibility-filtering/hydration/store/key_origin.rs:489-495 \u2014 both copies are in the same file, so extract the block 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 \u0060visibility-filtering/hydration/store/key_origin.rs:477\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":"visibility-filtering/hydration/store/key_origin.rs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0793f37d16ed32e1e7cae14ff3db9de8a4f20090394e064bba906796e154aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): vm-ranker/carousel_model.rs:35-41 | vm-ranker/user_debias_store.rs:59-65 \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 \u0060vm-ranker/carousel_model.rs:35\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":"vm-ranker/carousel_model.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee868c5e8722c82a8a75e15b247a48e6a972f44095721bba780e3aa3fe1c527"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 20): thunder/schema/events.rs:251-256 | thunder/schema/events.rs:418-423 | thunder/schema/events.rs:498-503 | thunder/schema/events.rs:578-583 | thunder/schema/events.rs:730-735 | thunder/schema/events.rs:927-932 | thunder/schema/events.rs:1680-1685 | thunder/schema/events.rs:2573-2578 | thunder/schema/events.rs:2656-2661 | thunder/schema/events.rs:2741-2746 | thunder/schema/events.rs:3639-3644 | thunder/schema/events.rs:3810-3815 | thunder/schema/media_common.rs:449-454 | thunder/schema/tweet.rs:726-731 | thunder/schema/tweet.rs:1020-1025 | thunder/schema/tweet.rs:2415-2420 | thunder/schema/tweet.rs:3065-3070 | thunder/schema/tweet.rs:3659-3664 | thunder/schema/tweet.rs:3786-3791 | thunder/schema/tweet_events.rs:635-640 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/media_common.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 150 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":"thunder/schema/events.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f811a876ae9e545406bb5c8331c685564c4d5f5c84f436e19b8f1c0a0a8257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 8): phoenix-rankall/src/processor/gen/hydra.rs:134-139 | thunder/schema/events.rs:1761-1766 | thunder/schema/events.rs:4078-4083 | thunder/schema/tweet.rs:1900-1905 | thunder/schema/tweet.rs:1964-1969 | thunder/schema/user.rs:3833-3838 | thunder/schema/user.rs:3842-3847 | thunder/schema/user.rs:5477-5481 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 95 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8277d062ea3c7a2b11fdb61014c1125080b2bc8557072c00942bfa8cde8ec64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 7): thunder/schema/events.rs:1722-1727 | thunder/schema/tweet.rs:1593-1598 | thunder/schema/user.rs:5450-5454 | thunder/schema/user.rs:9947-9952 | thunder/schema/user.rs:9956-9961 | thunder/schema/user.rs:9965-9970 | thunder/schema/user.rs:10742-10747 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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":"thunder/schema/events.rs"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7d5c09be52beab44dc6387e37ef3ee25104b37dd839387a997039725c53323"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): thunder/schema/tweet.rs:5437-5442 | thunder/schema/user.rs:3311-3316 | thunder/schema/user.rs:10830-10835 | thunder/schema/user.rs:11737-11742 | thunder/schema/user.rs:12296-12301 | thunder/schema/user.rs:13685-13690 | thunder/schema/user.rs:14540-14545 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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":"thunder/schema/tweet.rs"},"region":{"startLine":5437}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1d7c3315aa829af9b74b1f68d6dc9821436a323d9be852bab365c588c121e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): thunder/schema/events.rs:1853-1858 | thunder/schema/events.rs:1935-1940 | thunder/schema/events.rs:2018-2023 | thunder/schema/tweet_events.rs:210-215 | thunder/schema/tweet_events.rs:341-346 | thunder/schema/tweet_events.rs:471-476 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 328 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":"thunder/schema/events.rs"},"region":{"startLine":1853}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8f66f45de8b6dd14229e6e47761226dca9c1848357444719025cdf9a47f4ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): thunder/schema/events.rs:2119-2124 | thunder/schema/events.rs:2217-2222 | thunder/schema/events.rs:2310-2315 | thunder/schema/events.rs:2403-2408 | thunder/schema/events.rs:2496-2501 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":2119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb163f52bf2c7a14f13ecd986a6f7827c23112c4bba291912fd41546ef9c9daa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 5): thunder/schema/tweet.rs:2830-2835 | thunder/schema/tweet_events.rs:729-734 | thunder/schema/tweet_events.rs:1290-1295 | thunder/schema/tweet_events.rs:1632-1637 | thunder/schema/user.rs:5504-5508 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 38 separate duplicated blocks between them, totalling at least 394 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":"thunder/schema/tweet.rs"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13d636e6bf833a26089a0413254582ba00f7a588e091e3cc51904058f905154"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 4): phoenix-rankall/src/processor/gen/hydra.rs:401-406 | phoenix-rankall/src/processor/gen/hydra.rs:410-415 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:831-836 | thunder/schema/user.rs:5486-5490 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"9669c05101a0c3f25e23c91da3fce6583a9f74c32d517d6415495ddd4a7ce62c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): phoenix-rankall/src/processor/gen/scored_candidate.rs:257-262 | thunder/schema/tweet.rs:1196-1201 | thunder/schema/user.rs:4504-4509 | thunder/schema/user.rs:4654-4659 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/scored_candidate.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 81 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e4353655f97b1420cbba18577129556ec5fa18142a94684e2d1cdebc80cc7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 3): thunder/schema/events.rs:1708-1713 | thunder/schema/tweet_events.rs:983-988 | thunder/schema/user.rs:5441-5445 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 328 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":"thunder/schema/events.rs"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2891298ab4cb694a154828a0f31d669e39646132474eb0bafc9a9cd866ed8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): thunder/schema/tweet.rs:1532-1537 | thunder/schema/user.rs:11958-11963 | thunder/schema/user.rs:12038-12043 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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":"thunder/schema/tweet.rs"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b265f43614784d44b8715af0cb3b71b3afde4b8181ffd948b2e0799ed180db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): abuse-enforcement-service/service-lib/src/action_control.rs:1353-1360 | abuse-enforcement-service/service-lib/src/off_switch.rs:585-590 \u2014 before extracting anything, compare \u0060abuse-enforcement-service/service-lib/src/action_control.rs\u0060 and \u0060abuse-enforcement-service/service-lib/src/off_switch.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 49 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 \u0060abuse-enforcement-service/service-lib/src/action_control.rs:1353\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"563160e728ef181a1a33ca3c75427cec07724c7b071faa7532ca738afcba4f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): home-mixer/ads/multi_risk_blender.rs:135-140 | home-mixer/ads/multi_risk_blender.rs:175-180 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/multi_risk_blender.rs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a94e4f3966212a5d777be61563e8d35ed66aacd21c55f19a57c7e1b540ccd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): home-mixer/dark_traffic_setup.rs:24-29 | visibility-filtering/dark_traffic_setup.rs:176-181 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060visibility-filtering/dark_traffic_setup.rs:175\u0060 calls \u0060ok\u0060 and \u0060home-mixer/dark_traffic_setup.rs:22\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":"home-mixer/dark_traffic_setup.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82d0fbd5645da7ca07ca1ec1ae7bcc9ae173580cc528eb8ee9acc132f43abb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): home-mixer/util/viewer_history.rs:44-49 | home-mixer/util/viewer_history.rs:76-81 \u2014 both copies are in the same file, so extract the block 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":"home-mixer/util/viewer_history.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac16343828f60453a0e53c062c7f583e065db0b670e0fbde3dd1b6f469f1137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix-rankall/src/processor/gen/scored_candidate.rs:158-163 | phoenix-rankall/src/processor/gen/scored_candidate.rs:379-384 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/scored_candidate.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4aceb58f38d1882b5bc260c143147458207807c461f7b805572ab23d7eee14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix-rankall/src/store/base.rs:414-419 | phoenix-rankall/src/store/base.rs:585-590 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix-rankall/src/store/base.rs:414\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":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d29394cb95fe7770fe99706e8cb35fb9075d7e17a2da58332d44e166087deb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:1630-1635 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2442-2447 \u2014 both copies are in the same file, so extract the block 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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1630}}}],"partialFingerprints":{"codehealthFindingId/v1":"14513545493c80a8229b1ceed5951117b12571c1dac0f727f4c3f983d6b89ab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/python.rs:2025-2030 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2035-2040 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:2025\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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1b5d5e3fad494255e5739736368ec9779c120b0b6e8ccbbf8d9c587c355a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:441-446 | phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:708-713 \u2014 both copies are in the same file, so extract the block 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":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d558d13a96a71fae428511c2235c50c0eee99e7c8d16c6c5f47beeade4274e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/crates/serving/xai-recsys-proto/src/grok_topics.rs:172-178 | phoenix/crates/serving/xai-recsys-proto/src/starter_packs.rs:50-56 \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. 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":"phoenix/crates/serving/xai-recsys-proto/src/grok_topics.rs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd77616db8551b47033514cf27ef7e314b5c5458795a2e738693c783c354d2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): thunder/schema/events.rs:1019-1024 | thunder/schema/events.rs:2932-2937 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/events.rs"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"390767ddea170f58585e70b8513f3696bbea7f9d4b1399d7b70d142269424475"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): thunder/schema/user.rs:7242-7246 | thunder/schema/user.rs:8327-8331 | thunder/schema/user.rs:10320-10324 | thunder/schema/user.rs:12369-12373 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/user.rs"},"region":{"startLine":7242}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1436985bc16484b0166370445b24b717c02cef3a25f65c26fbb1c6df63f2ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): phoenix/crates/serving/xai-recsys-engine/src/python.rs:2026-2030 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2036-2040 | phoenix/crates/serving/xai-recsys-engine/src/python.rs:2741-2745 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-engine/src/python.rs:2026\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":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa2f2ddeba3a7d9e1888eca33367d0b4ad085fa19bc460abe3f851e55e0b0bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): home-mixer/candidate_hydrators/gizmoduck_hydrator.rs:123-127 | home-mixer/candidate_hydrators/gizmoduck_hydrator.rs:132-136 \u2014 both copies are in the same file, so extract the block 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":"home-mixer/candidate_hydrators/gizmoduck_hydrator.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5530fccda5e9aefd64d671fc2fa6a5438e6fb0bbbcd8b12553b964300c28e44c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix-rankall/src/processor/gen/hydra.rs:198-202 | thunder/schema/tweet.rs:2870-2874 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d779bfc60b9ab4d70c9eeb2245f53f120d041ec61c40f4fa7b021bc3df807c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix-rankall/src/store/analysis.rs:166-170 | phoenix-rankall/src/store/analysis.rs:194-198 \u2014 both copies are in the same file, so extract the block 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":"phoenix-rankall/src/store/analysis.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e817fcb1c2f42818e6c61c8a378215e7748a5525f5854530e8a15409d04bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix-rankall/src/store/base.rs:475-480 | phoenix-rankall/src/store/base.rs:667-672 \u2014 both copies are in the same file, so extract the block 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":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"1559a0f20a49ba41e650a754e06ab3cdbfc9501d49b2927960545b8f155cb3b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:1950-1955 | phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:1313-1318 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:1950\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":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":1950}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cecb84f216d07317b3cb2f3b585d8f60606947b27f1a3c24ec05f28e51e9fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/mem_util.rs:100-104 | phoenix/crates/serving/xai-recsys-engine/src/mem_util.rs:122-126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/mem_util.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d5e6d0bf5ffc55e90256c8d3b586bb27c39d80883e61b8ef846b8482472135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:705-709 | thunder/schema/user.rs:12971-12975 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 33 separate duplicated blocks between them, totalling at least 357 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff0a2283657484515eaf3c8501aa8fe1f07acd62284d760d0c346d650aca9ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): thunder/schema/tweet.rs:3165-3169 | thunder/schema/user.rs:4318-4322 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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":"thunder/schema/tweet.rs"},"region":{"startLine":3165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36a489549411b02a13a8e8d8482a9c26642dd987415167b8f7f2eb6416cf7e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): thunder/schema/tweet_events.rs:128-135 | thunder/schema/tweet_events.rs:402-409 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/tweet_events.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fa6ea50b2a697d2a739c61a6c71f49dc94864fdc80a5609cc52ec7d360076c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): thunder/schema/tweet_events.rs:1676-1707 | thunder/schema/user.rs:4217-4248 \u2014 before extracting anything, compare \u0060thunder/schema/tweet_events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 32 separate duplicated blocks between them, totalling at least 353 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":"thunder/schema/tweet_events.rs"},"region":{"startLine":1676}}}],"partialFingerprints":{"codehealthFindingId/v1":"673a9fce8028e196234d825cc5ba4474856f57e1a09336315050bb9ae13c3e35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): thunder/metrics.rs:229-241 | vm-ranker/metrics.rs:328-340 \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 \u0060thunder/metrics.rs:229\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/metrics.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b9005dbb0da805d3a86541e81f662a35e79bc9a8292ef091c6cc2ac5782f42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): abuse-enforcement-service/service-lib/src/action_control.rs:1574-1579 | abuse-enforcement-service/service-lib/src/off_switch.rs:383-388 \u2014 before extracting anything, compare \u0060abuse-enforcement-service/service-lib/src/action_control.rs\u0060 and \u0060abuse-enforcement-service/service-lib/src/off_switch.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 49 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":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1574}}}],"partialFingerprints":{"codehealthFindingId/v1":"f526f87a4883216aeee7c50696087849a007d08b384918880ff052cce68cab76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): candidate-pipeline/hydrator.rs:54-60 | candidate-pipeline/scorer.rs:53-59 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060candidate-pipeline/scorer.rs:49\u0060 calls \u0060score\u0060 and \u0060candidate-pipeline/hydrator.rs:50\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":"candidate-pipeline/hydrator.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"364654ee8e3f0566dad6220f52f7ded2543ff23a67a93515fd773a1d765db49b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): home-mixer/ads/health_metrics.rs:93-102 | home-mixer/ads/partition_organic_blender.rs:205-214 \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 \u0060home-mixer/ads/health_metrics.rs:93\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":"home-mixer/ads/health_metrics.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0228744f2f03e879db49d289a96cfab7333772d678a1919244904ce6e37fc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): home-mixer/ads/health_metrics.rs:120-130 | home-mixer/ads/partition_organic_blender.rs:231-241 \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":"home-mixer/ads/health_metrics.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c17581d659c3bb0fabb525f5c98698c5d729f7137fcd944950773ef5b1ca74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): home-mixer/ads/least_movement_blender.rs:39-44 | home-mixer/ads/slot_spread_blender.rs:38-43 \u2014 before extracting anything, compare \u0060home-mixer/ads/least_movement_blender.rs\u0060 and \u0060home-mixer/ads/slot_spread_blender.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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 \u0060home-mixer/ads/least_movement_blender.rs:39\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":"home-mixer/ads/least_movement_blender.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"03efeb2f578743eb0296dd77cd708c620aee9a92be561a44d1d310577f3c149f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): home-mixer/candidate_hydrators/ai_trend_feedback_context_hydrator.rs:120-125 | home-mixer/candidate_hydrators/topic_feedback_context_hydrator.rs:21-26 \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":"home-mixer/candidate_hydrators/ai_trend_feedback_context_hydrator.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac3ed5f64462efb13b1d877a4245cb105d6147a4f4c60f4aea9fed6186460b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): home-mixer/filters/ad_adjacent_served_filter.rs:153-158 | home-mixer/side_effects/funnel_trace_side_effect.rs:147-152 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/filters/ad_adjacent_served_filter.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"135d3fc752e869e85a9848b208d58eb92327b6354a1fc53462cad8f071c3875b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): home-mixer/popular_authors_job.rs:94-98 | home-mixer/popular_posts_job.rs:55-59 \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":"home-mixer/popular_authors_job.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c1a01f2d1d42c2e84ba97bbc3afe13ffff9e6c3b2d356d17329dfe50bdb908"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): home-mixer/popular_authors_job.rs:100-104 | home-mixer/popular_posts_job.rs:61-65 \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":"home-mixer/popular_authors_job.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a844413ab5c9b3d2d740fd1e239922031ea2ebc35388be0a12c11fdbd073068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): home-mixer/query_hydrators/impressed_posts_query_hydrator.rs:13-20 | home-mixer/query_hydrators/past_request_timestamps_query_hydrator.rs:24-31 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060home-mixer/query_hydrators/past_request_timestamps_query_hydrator.rs:20\u0060 calls \u0060enable\u0060, \u0060get\u0060 and \u0060home-mixer/query_hydrators/impressed_posts_query_hydrator.rs:12\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/query_hydrators/impressed_posts_query_hydrator.rs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29c04d92e3ceb70218cb8754e6d9b22f5dcd6bd8a7f9314afab6bd27dc1259b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): home-mixer/selectors/blender_selector.rs:113-123 | home-mixer/selectors/following_blender_selector.rs:67-77 \u2014 before extracting anything, compare \u0060home-mixer/selectors/blender_selector.rs\u0060 and \u0060home-mixer/selectors/following_blender_selector.rs\u0060 as WHOLE FILES: this scan already matched 4 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":"home-mixer/selectors/blender_selector.rs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"004f1833780e50ff73d30d1df309f1111f582e2f66f0d6c8687894349cdae212"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): home-mixer/side_effects/ads_injection_logging_side_effect.rs:167-172 | home-mixer/util/feed_log.rs:14-19 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/ads_injection_logging_side_effect.rs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"205087ebaafab8ded9d08fa2d895477f2809db695d7a2ad1435e6c0756933cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): home-mixer/side_effects/ads_injection_logging_side_effect.rs:174-179 | home-mixer/util/feed_log.rs:21-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/ads_injection_logging_side_effect.rs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c638b610a71bad3ba0f9b58cea3ae190d221cb30d745284c96c0c95ad1bb783d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/grpc_compression.rs:46-51 | phoenix/crates/serving/xai-recsys-engine/src/grpc_server_latency.rs:32-37 \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":"phoenix/crates/serving/xai-recsys-engine/src/grpc_compression.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d670bc902f7d97b942b25676ad8137f1c86aa376c7236c022cb802d7a3837e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/crates/serving/xai-recsys-mm-server/src/o2.rs:99-106 | thunder/o2/mod.rs:71-78 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/o2.rs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db4f2270782eb85df7e3349653e6be86ad13152a87b80025139777e7ddde239"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): abuse-enforcement-service/service-lib/src/action_control.rs:444-449 | abuse-enforcement-service/service-lib/src/sliding_window.rs:171-176 \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":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b68692e287d3ff5c012cf4097e97f7bc906dca3a2b0866e73b6ea78bcd9a276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): abuse-enforcement-service/service-lib/src/lib.rs:2674-2679 | phoenix/crates/serving/xai-recsys-engine/src/request_metrics.rs:225-230 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":2674}}}],"partialFingerprints":{"codehealthFindingId/v1":"170cfa16421be9463d909ad454609f2865e2406d2da8f86ae521f60c4492333a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bdsm/rust/accumulator/src/trace.rs:362-367 | vm-ranker/scoring/value_model.rs:349-354 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/trace.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"4823c74908cc6303b4ba7088f5c72c2083c4d3d71258f9866f94aa0930777b33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): home-mixer/filters/inventory_holdout_filter.rs:17-25 | home-mixer/side_effects/author_served_metrics_side_effect.rs:33-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/filters/inventory_holdout_filter.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd28c4ef964c062f047a7711b38888482eb59d33558a7934fbce2f030d801811"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): home-mixer/query_hydrators/blocked_user_ids_query_hydrator.rs:14-28 | home-mixer/query_hydrators/followed_user_ids_query_hydrator.rs:18-32 | home-mixer/query_hydrators/muted_user_ids_query_hydrator.rs:14-28 | home-mixer/query_hydrators/subscribed_user_ids_query_hydrator.rs:14-28 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 4 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060home-mixer/query_hydrators/followed_user_ids_query_hydrator.rs:14\u0060 calls \u0060enable\u0060, \u0060is_empty\u0060 and \u0060home-mixer/query_hydrators/blocked_user_ids_query_hydrator.rs:13\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/query_hydrators/blocked_user_ids_query_hydrator.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadbaed00c3e79221d7d84e5a8da560b5b56c5d37dd6e00ad9d3ea710c048dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): home-mixer/scorers/page_rl_exploration_scorer.rs:111-115 | home-mixer/side_effects/phoenix_experiments_side_effect.rs:445-449 | home-mixer/side_effects/phoenix_experiments_side_effect.rs:451-455 | home-mixer/side_effects/phoenix_request_cache_side_effect.rs:279-283 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/scorers/page_rl_exploration_scorer.rs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"80de462b698f0bd237c905b94598327aaac9d23b2465a4d6fcbedfbe1b2a3106"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): thunder/schema/events.rs:1789-1797 | thunder/schema/events.rs:2055-2063 | thunder/schema/tweet_events.rs:277-285 | thunder/schema/tweet_events.rs:1197-1205 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 328 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":"thunder/schema/events.rs"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"7392902a43d0f3f7e9db92e95ee8c02569bc3210444f7fcccd15b99edea54b96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1587-1606 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1715-1734 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1587\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":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"70511aa34f84b51d5ee76377245501b418bbdbb1a92cf69fdbefe42c2e4c2431"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): abuse-enforcement-service/service-lib/src/head_guard.rs:626-641 | abuse-enforcement-service/service-lib/src/off_switch.rs:667-682 \u2014 before extracting anything, compare \u0060abuse-enforcement-service/service-lib/src/head_guard.rs\u0060 and \u0060abuse-enforcement-service/service-lib/src/off_switch.rs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 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 \u0060abuse-enforcement-service/service-lib/src/head_guard.rs:626\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":"abuse-enforcement-service/service-lib/src/head_guard.rs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98ece3e1e88384c55e9b00c52ca8a11faf63e444a555db250a2090b3f79682e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:160-171 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1583-1594 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1710-1722 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1953-1964 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:160\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c228a5d4635aa9476092f55979715bdc09f40c6f37d5623be65ebe8f99df6156"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): home-mixer/clients/prompts_client.rs:72-81 | home-mixer/clients/simclusters_ann_client.rs:75-84 | home-mixer/clients/who_to_follow_client.rs:74-85 \u2014 before extracting anything, compare \u0060home-mixer/clients/prompts_client.rs\u0060 and \u0060home-mixer/clients/simclusters_ann_client.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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 \u0060home-mixer/clients/prompts_client.rs: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":"home-mixer/clients/prompts_client.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"005653d1dd6fdce9b13c4b7e6e76c7fe85c7c6909ef17dc34ef690c35876fd58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): bdsm/rust/accumulator/src/trace.rs:277-288 | bdsm/rust/accumulator/src/trace.rs:336-347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bdsm/rust/accumulator/src/trace.rs:277\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: \u0060bdsm/rust/accumulator/src/trace.rs:277\u0060 is reached only past a guard at line 259 that tests \u0060self.sample_rate\u0060 and leaves the function early, and \u0060bdsm/rust/accumulator/src/trace.rs:336\u0060 reads \u0060self.sample_rate\u0060 with no such check. What separates these copies is not which lines they run but which PRECONDITION they enforce, so one of them is operating on state the other one refuses. Decide which is intended BEFORE unifying them \u2014 extract the shared part and whichever copy is missing the check keeps running unchecked, and if the guard is the correct behaviour then that hole is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/trace.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b003f33846ef140cc6fa1658aa35ab0d9e3275a22f6b074d023fb08bae65a75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): abuse-enforcement-service/service-lib/src/lib.rs:1113-1124 | abuse-enforcement-service/service-lib/src/lib.rs:1140-1151 \u2014 both copies are in the same file, so extract the block 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 \u0060abuse-enforcement-service/service-lib/src/lib.rs:1113\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c842300173342bb72405bd1fa8ae2e421c27ee0ba7fad9bff8cde4939d7b80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): thunder/strato_client.rs:107-117 | thunder/strato_client.rs:171-181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/strato_client.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a68059ff6774f3c1139aac836703f95f2e5af17a2a5742cdabd0855537fc97a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): home-mixer/popular_authors_job.rs:319-329 | home-mixer/popular_posts_job.rs:216-226 \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 \u0060home-mixer/popular_authors_job.rs:319\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":"home-mixer/popular_authors_job.rs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea636c1b905a962f1b88445c7bc4d4ff4f9b29f2cf0160dd4b411ac0e86bb0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): abuse-enforcement-service/service-lib/src/overturn_hold.rs:1695-1705 | abuse-enforcement-service/service-lib/src/overturn_hold.rs:1713-1723 \u2014 both copies are in the same file, so extract the block 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 \u0060abuse-enforcement-service/service-lib/src/overturn_hold.rs:1695\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":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1670371a9bac58a62ab6001647bfd0a53646d47ef1f28568b09c48357fbc3a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): abuse-enforcement-service/service-lib/src/action_control.rs:1442-1451 | abuse-enforcement-service/service-lib/src/head_guard.rs:611-620 | abuse-enforcement-service/service-lib/src/off_switch.rs:652-661 \u2014 before extracting anything, compare \u0060abuse-enforcement-service/service-lib/src/action_control.rs\u0060 and \u0060abuse-enforcement-service/service-lib/src/head_guard.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 59 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 \u0060abuse-enforcement-service/service-lib/src/action_control.rs:1442\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":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a4bde65471cac17d08ad0e9319bd99e49d7d30772bb6a67eb694556a7bb3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): thunder/schema/events.rs:3344-3353 | thunder/schema/events.rs:3397-3406 | thunder/schema/events.rs:3893-3902 | thunder/schema/events.rs:3946-3955 | thunder/schema/tweet.rs:3965-3974 | thunder/schema/tweet.rs:5330-5339 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 51 separate duplicated blocks between them, totalling at least 532 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 \u0060thunder/schema/events.rs:3344\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"thunder/schema/events.rs"},"region":{"startLine":3344}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ed31d4c36879fc292012e817b7063d6e782c038c6e8cc75eb9b94f9a9714d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1754-1763 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1830-1839 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1754\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":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"0365e97ef978bc8c79305940c12adb3b509880f107ba3d4c7142162e0fe031d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): vm-ranker/scoring/dpp_model.rs:226-234 | vm-ranker/scoring/dpp_model.rs:238-246 \u2014 both copies are in the same file, so extract the block 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":"vm-ranker/scoring/dpp_model.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"411965b54256d1beae701423d8bcd3acfe34a32c6e3aedc7a7ff91aa63626214"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): home-mixer/clients/prompts_client.rs:58-66 | home-mixer/clients/simclusters_ann_client.rs:62-69 | home-mixer/clients/who_to_follow_client.rs:61-68 \u2014 before extracting anything, compare \u0060home-mixer/clients/prompts_client.rs\u0060 and \u0060home-mixer/clients/simclusters_ann_client.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 58 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 \u0060home-mixer/clients/prompts_client.rs:58\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":"home-mixer/clients/prompts_client.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c658caabdb49c9920c08cc8234cd82f034f0ddc1ae7889a2de1d30f86d82fdc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): home-mixer/util/urt/feedback.rs:142-150 | home-mixer/util/urt/feedback.rs:222-230 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060home-mixer/util/urt/feedback.rs:231\u0060 calls \u0060Some\u0060 and \u0060home-mixer/util/urt/feedback.rs:151\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":"home-mixer/util/urt/feedback.rs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5ee83f2b644a7f9f2ab31bc55c81376eac5f6f918214528bac0dc5a460caed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix-rankall/src/sid/client.rs:37-45 | phoenix/crates/serving/xai-recsys-sid-retrieval/src/seed_sids.rs:27-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/sid/client.rs:37\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix-rankall/src/sid/client.rs:48\u0060 calls \u0060keep_alive_timeout\u0060, \u0060from_secs\u0060 and \u0060phoenix/crates/serving/xai-recsys-sid-retrieval/src/seed_sids.rs:37\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/sid/client.rs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3487e1991e306a131a6980fbdaa4f05815150578319c9da790e2beb691f10c0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:1900-1908 | phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs:1257-1265 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs\u0060 and \u0060phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 40 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 \u0060phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs:1900\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":"phoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57b18fa66b0a8685807d521530faac46011b46b43f34b7f2d229486317d0646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): abuse-enforcement-service/service-lib/src/action_control.rs:338-345 | abuse-enforcement-service/service-lib/src/off_switch.rs:199-206 \u2014 before extracting anything, compare \u0060abuse-enforcement-service/service-lib/src/action_control.rs\u0060 and \u0060abuse-enforcement-service/service-lib/src/off_switch.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 49 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":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb3c81d479131e4b71687517757dc650d0e5320e966e5801fb441d36b9b8107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix-rankall/src/processor/gen/hydra.rs:287-293 | thunder/schema/tweet.rs:2957-2963 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/hydra.rs:287\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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e6f055576b08d9dd2b72ec549b80cdf1150a446d53c6be6e90fb247e39d6ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): phoenix-rankall/src/processor/gen/hydra.rs:277-288 | thunder/schema/tweet.rs:2937-2948 \u2014 before extracting anything, compare \u0060phoenix-rankall/src/processor/gen/hydra.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 128 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix-rankall/src/processor/gen/hydra.rs:277\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":"phoenix-rankall/src/processor/gen/hydra.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a4ba7562a7bb2d02dd0faedb66405c416c7c5da8d50b610a2cea6742702d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): thunder/schema/events.rs:734-740 | thunder/schema/events.rs:931-937 | thunder/schema/events.rs:1684-1690 | thunder/schema/events.rs:2745-2751 | thunder/schema/events.rs:2817-2823 | thunder/schema/events.rs:3643-3649 | thunder/schema/events.rs:3814-3820 | thunder/schema/media_common.rs:453-459 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/media_common.rs\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 150 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 \u0060thunder/schema/events.rs:734\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":"thunder/schema/events.rs"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"afaa27792af5277e14f0f329eabdc146d427353acb13238543d647b07badbe43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:567-573 | thunder/schema/events.rs:1732-1738 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/events.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 214 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:567\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":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed250f021351251e6c829eaccdcb2ce18b3b83b2599bc4f854efe135d69bc434"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): abuse-enforcement-service/service-lib/src/action_control.rs:337-343 | abuse-enforcement-service/service-lib/src/confidence.rs:121-127 \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 \u0060abuse-enforcement-service/service-lib/src/action_control.rs:337\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":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b4f4f29148d98631b4ac267cbbb570ea282509682e8f284d6874e92a05c351"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): thunder/schema/tweet.rs:5437-5442 | thunder/schema/user.rs:3311-3316 | thunder/schema/user.rs:10665-10670 | thunder/schema/user.rs:10830-10835 | thunder/schema/user.rs:11737-11742 | thunder/schema/user.rs:12296-12301 | thunder/schema/user.rs:13685-13690 | thunder/schema/user.rs:14540-14545 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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":"thunder/schema/tweet.rs"},"region":{"startLine":5437}}}],"partialFingerprints":{"codehealthFindingId/v1":"c878bf667dc4e3f308ba58b23ff59fa1a25b285e33105f7633acb24166d13417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:823-828 | thunder/schema/tweet.rs:953-958 | thunder/schema/tweet_events.rs:568-573 | thunder/schema/tweet_events.rs:716-721 | thunder/schema/tweet_events.rs:970-975 | thunder/schema/tweet_events.rs:1067-1072 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 27 separate duplicated blocks between them, totalling at least 293 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bab6a75f49f55d6ec84a73f0701011875313e377cd853d15f95864040c6b7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): thunder/schema/tweet_media.rs:576-581 | thunder/schema/tweet_media.rs:811-816 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/tweet_media.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"7becef6fb320b9c9b570859876339234f1e273080061b0b9170855e5957eda85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10): thunder/schema/media_entity.rs:279-284 | thunder/schema/tweet.rs:1693-1698 | thunder/schema/tweet.rs:1812-1817 | thunder/schema/tweet.rs:2035-2040 | thunder/schema/tweet.rs:2115-2120 | thunder/schema/tweet.rs:2203-2208 | thunder/schema/user.rs:11086-11091 | thunder/schema/user.rs:11279-11284 | thunder/schema/user.rs:11433-11438 | thunder/schema/user.rs:11577-11582 \u2014 before extracting anything, compare \u0060thunder/schema/media_entity.rs\u0060 and \u0060thunder/schema/tweet.rs\u0060 as WHOLE FILES: this scan already matched 17 separate duplicated blocks between them, totalling at least 183 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":"thunder/schema/media_entity.rs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9431113dae08b1878de90371704b15d1f7da4c1d997a23905d79d81a09be9a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): thunder/schema/media_common.rs:599-604 | thunder/schema/tweet_media.rs:445-450 | thunder/schema/tweet_media.rs:517-522 \u2014 before extracting anything, compare \u0060thunder/schema/media_common.rs\u0060 and \u0060thunder/schema/tweet_media.rs\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 67 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":"thunder/schema/media_common.rs"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa72cfdc694a713c64c586ea73b56c29b9e7beaacbe808b2216b9ff66cb76a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): thunder/schema/tweet.rs:1265-1270 | thunder/schema/tweet.rs:1532-1537 | thunder/schema/user.rs:11958-11963 | thunder/schema/user.rs:12038-12043 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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":"thunder/schema/tweet.rs"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5a27f835d9a99c9c1ff45ea0cfa62c2db773085963ec2d919e9f996e58b9d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): abuse-enforcement-service/service-lib/src/dedup_cache.rs:450-455 | abuse-enforcement-service/service-lib/src/dedup_cache.rs:473-478 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060abuse-enforcement-service/service-lib/src/dedup_cache.rs:450\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":"abuse-enforcement-service/service-lib/src/dedup_cache.rs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71f6c2ed7374cdd009e90f3d97765925d1d5a4c69f8fdef01c01b8779914228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): thunder/schema/tweet.rs:2738-2742 | thunder/schema/tweet.rs:4126-4130 \u2014 both copies are in the same file, so extract the block 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":"thunder/schema/tweet.rs"},"region":{"startLine":2738}}}],"partialFingerprints":{"codehealthFindingId/v1":"1193dd9d9dbb0c5249b6a7f2316b5ccafcef58f15a3d63ade0176e0684e3e790"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): abuse-enforcement-service/service-lib/src/overturn_hold.rs:274-278 | abuse-enforcement-service/service-lib/src/overturn_hold.rs:354-358 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060abuse-enforcement-service/service-lib/src/overturn_hold.rs:274\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":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"2434531388984ea7a0a28b79be15c287829a59ef9889ce2da3f80d3d12ee9f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix/crates/serving/xai-recsys-mm-server/src/events.rs:838-842 | thunder/schema/tweet_events.rs:1073-1077 \u2014 before extracting anything, compare \u0060phoenix/crates/serving/xai-recsys-mm-server/src/events.rs\u0060 and \u0060thunder/schema/tweet_events.rs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/events.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd11191c43b88bcecf14e303dbb2ffb8ed630921d04ff11d4003aade5e10361a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): thunder/schema/tweet.rs:1115-1119 | thunder/schema/user.rs:13171-13175 \u2014 before extracting anything, compare \u0060thunder/schema/tweet.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 111 separate duplicated blocks between them, totalling at least 1166 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 \u0060thunder/schema/tweet.rs:1115\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":"thunder/schema/tweet.rs"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08183202001c1289c2fa54e599af6769d663b9c29f1691b670ec462504e3097"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): thunder/schema/events.rs:339-343 | thunder/schema/events.rs:3070-3074 | thunder/schema/events.rs:3147-3151 | thunder/schema/events.rs:3224-3228 | thunder/schema/events.rs:3301-3305 | thunder/schema/events.rs:3502-3506 | thunder/schema/user.rs:5890-5894 \u2014 before extracting anything, compare \u0060thunder/schema/events.rs\u0060 and \u0060thunder/schema/user.rs\u0060 as WHOLE FILES: this scan already matched 49 separate duplicated blocks between them, totalling at least 510 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":"thunder/schema/events.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8db735d2d1d822a0edb8d056a8e6ac3fc64855d64688f100d389b5e95bd9fca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bdsm/rust/abuse-v3-features/src/lib.rs:347-351 | bdsm/rust/abuse-v3-features/src/lib.rs:355-359 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/abuse-v3-features/src/lib.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"0766dfb4737e8f863bfa2164bd3ef0a02654881d6d2ec850461b5a5d1e5e481c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): home-mixer/selectors/blender_selector.rs:234-239 | home-mixer/selectors/following_blender_selector.rs:105-110 \u2014 before extracting anything, compare \u0060home-mixer/selectors/blender_selector.rs\u0060 and \u0060home-mixer/selectors/following_blender_selector.rs\u0060 as WHOLE FILES: this scan already matched 4 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060home-mixer/selectors/blender_selector.rs:234\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":"home-mixer/selectors/blender_selector.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0d59bc36b8bfea49925cd65081bf6f277cf6f0ded53d0848efd957ab1a50e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): home-mixer/util/rescore.rs:17-22 | home-mixer/util/rescore.rs:24-29 \u2014 both copies are in the same file, so extract the block 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":"home-mixer/util/rescore.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68ca80c501b109a7e6641641652c718c7f5dc3c5f9a5ed4c3b69ee305f06e36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix-rankall/src/store/base.rs:429-436 | phoenix-rankall/src/store/base.rs:598-605 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix-rankall/src/store/base.rs:429\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":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab07f3ea8b1eb30e642d6ed54ec858db5bf86e9d40013600d8b2729315058a35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1490-1496 | phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs:1668-1674 \u2014 both copies are in the same file, so extract the block 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":"phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d55dd16b187df1b20fd18c96c633bc19c494a410c1062707850ad4544a2933c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:68-118 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala:67-117 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:68\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0813f6bbd8b3c245bb34439cb155c74a07ca9a590e6dff562d5266db03944040"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala:735-769 | scarecrow/ScarecrowBotMaker.scala:712-747 \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 \u0060botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala:735\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"debf80247c4aeab4445ed5f734952ca89baf9de57bec4868c47cb3335d944828"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala:704-736 | scarecrow/ScarecrowBotMaker.scala:649-681 \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 \u0060botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala:704\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":"botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ae0b6abd3d299e57efd1300980e68dc53a0d3cee25f9d50f176c03732899b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): agatha/hub/pmi/PMI.scala:163-194 | agatha/hub/pmi/PMI.scala:213-243 \u2014 both copies are in the same file, so extract the block 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 \u0060agatha/hub/pmi/PMI.scala:213\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":"agatha/hub/pmi/PMI.scala"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8965816447ce2beb64760fe4fc7a648641bb932a6aae451834e549f169789521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:33-64 | simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:109-140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:33\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:105\u0060 calls \u0060similarityFnForSil\u0060, \u0060put\u0060 and \u0060simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:31\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2c779ff019260b96d016798b0b916d9d58271390adf16463d8ec02a2beb552"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): simclusters/simclusters_v2/scalding/InterestedInFromKnownFor.scala:211-242 | simclusters/simclusters_v2/scalding/InterestedInFromKnownForLite.scala:204-235 \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 \u0060simclusters/simclusters_v2/scalding/InterestedInFromKnownFor.scala:211\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":"simclusters/simclusters_v2/scalding/InterestedInFromKnownFor.scala"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e5d672fc1e8019666416eca0ef000bf708fa52c080844333ee60a49f8aeaa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:142-171 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:331-360 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:142\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"181606addd5971219cf06e3a7b25bba78cf0e3e1693d57d95c13d6b2383b5dc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala:137-165 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJobRunner.scala:168-196 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJobRunner.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala:137\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0dd68394271c402175adc1e08a698a01bdf7ee31c7d22219973519be56d9265"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:365-392 | botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:421-448 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:365\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:449\u0060 calls \u0060get\u0060 and \u0060botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:394\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":"botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"636cbfd2e41a887d7d6390964854ee4adf2cc8247ebc4be50ab277daa052e64b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala:114-141 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:219-246 \u2014 before extracting anything, compare \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala\u0060 and \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala:114\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eaa9d52cea6a0f2beac087c2b7dbbd7d2cb08fbf62fff6afdcc5ba07649998e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:127-154 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala:125-152 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:127\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":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9c515f358010eb0e6133fc2397fddcb5e72444bf9a986b608fba180a1a87be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 6): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala:112-137 | simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala:127-152 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJobRunner.scala:143-168 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala:127-152 | simclusters/simclusters_v2/summingbird/storm/TwhinTweetJobRunner.scala:160-185 | simclusters/simclusters_v2/summingbird/storm/TwhinUserJobRunner.scala:117-142 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.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":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93c71d98c6a223183343eef9f1b7a9fd48040cac310c081afc8ceeca8247397"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1311-1336 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1401-1426 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1311\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfea9673eb1ac7d0879b1e3e7af1f346af06702de77288952b81b22ef976a5dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 2): simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJobRunner.scala:105-130 | simclusters/simclusters_v2/summingbird/storm/TwhinTweetJobRunner.scala:112-134 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJobRunner.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinTweetJobRunner.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 88 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 \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJobRunner.scala:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJobRunner.scala"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ad736761885348b8f9acc9c114c242f46726e8acdec9f5c685a436683fad48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2093-2117 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2179-2203 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2093\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbab0c786e1f234148a22168a9236fb8da70f1ca668d0e99797e516d3013630a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala:850-872 | botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala:876-899 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala:850\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":"botmaker/src/scala/com/twitter/botmaker/rule/BotMaker.scala"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"7566668f5cfa6b2c1637bbebeae964d5aa3dec65f3dfd508cd187de0ca4bd1f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): simclusters/simclusters_v2/summingbird/storm/TweetJob.scala:185-208 | simclusters/simclusters_v2/summingbird/storm/TweetJob.scala:226-249 \u2014 both copies are in the same file, so extract the block 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 \u0060simclusters/simclusters_v2/summingbird/storm/TweetJob.scala:185\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":"simclusters/simclusters_v2/summingbird/storm/TweetJob.scala"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc5135f52194694371fce3897b712e140fa755ce6f75d11c593638a8c564a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:344-366 | botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:401-423 | botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:442-464 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:344\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94c2ce28f794596afad1db5c4d40913e280e7932a1018d697b120836175a97d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:196-218 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:383-405 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:196\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c830705fd408e237d4e31a9eb05ad8bb638359b5707dca998b69ed4670e808a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:239-261 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:424-446 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:239\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2015b84601961c44e9ca03c26666e29011fc54f4b13b2c9c0408962bb984bef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:158-180 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:304-326 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:158\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b016d06e8543a30aeb3a8bb8a6a02e0e081dacc91c7860af7e24179738e49c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:201-223 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:344-366 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:201\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab398b1041f2a43686423350de7ef8be9c44f62620b271b914dfa4a8cfdd265"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala:164-186 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala:164-186 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 135 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":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"082b6c5b16010aea7621f7bd9767da2ecf42f665d9a04053b4ca4199088c1164"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:274-295 | botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:331-352 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:274\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":"botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b827fbcbcef2a0e1f03b1dce829005d8417acbb68837bb5324c976bc2e4d6cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala:75-96 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala:74-95 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala:75\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb36cd62283ddcbc587d1fe9585c3d374d176449e601f9ad3e31effca3a10555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:66-86 | simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:143-162 \u2014 both copies are in the same file, so extract the block 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 \u0060simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:143\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"936ea8eac2ff70527d0ad98a8feb90ed4ca7a42dfc7e3890a7b8ea25a1f25e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingsJob.scala:83-103 | simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingsJob.scala:257-277 \u2014 both copies are in the same file, so extract the block 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":"simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingsJob.scala"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e095bb0e27ecafa640e833c6895f356f444b65e4c6b8be56df22b43dd1fd850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2989-3008 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3064-3083 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2989\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2989}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a53231415ecb2c29d54fcfc57b4c074550cec0307ded56acf626e4ac002d69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:271-290 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:239-258 \u2014 before extracting anything, compare \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 120 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 \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:271\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":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"43557772b3fa1450534ba7edeb33bc0e96e35e3f72f3332b64ef36efa9447530"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala:57-76 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJobRunner.scala:63-82 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJobRunner.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala:57\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8222bc192244524f77abf6f7a6f19338474c60e845e5c32d1fbd835baff26c7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1165-1183 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1236-1254 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1165\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"164dadf529ddd66dc690fdc6beac93916454a4eb184e10fe226af894a2cf8320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/rule/RuleEvaluator.scala:138-156 | botmaker/src/scala/com/twitter/botmaker/rule/RuleEvaluator.scala:183-201 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/rule/RuleEvaluator.scala:138\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":"botmaker/src/scala/com/twitter/botmaker/rule/RuleEvaluator.scala"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9616bef2d02cd353b10d8bfde8171841b63bbf900fb82ea1f9abaf4d9ed9ed1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:186-204 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:148-166 \u2014 before extracting anything, compare \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 120 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 \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:186\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060LocalCounterConfig\u0060 in one and \u0060LocalStoreConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c79d7ddb18cd2b60b8b53fce305bd7aca1849dc0687c60296942e4c0fd159c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:373-391 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:294-312 \u2014 before extracting anything, compare \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 120 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 \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:373\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060LocalCounterConfig\u0060 in one and \u0060LocalStoreConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"091bc57b34c403f5f51745535abd77ac872306ee6ff9a8ddc6e1796f033e6ee3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:414-432 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:334-352 \u2014 before extracting anything, compare \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 120 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 \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:414\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060LocalCounterConfig\u0060 in one and \u0060LocalStoreConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c75906ae4e0fcebd10206554b9c99e7f17d83d0e11d3e08b7c0f0fd5e49813"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala:64-82 | simclusters/simclusters_v2/summingbird/storm/TwhinTweetJob.scala:60-78 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinTweetJob.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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 \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala:64\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc776db616581b40d62b017f9d03677c07facc1570753b1f609cda7278a3081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:340-357 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala:106-123 \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 \u0060botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:340\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060ManhattanClientConfig\u0060 in one and \u0060MemCachedClientConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"a370d5ac2602ee5e29c4ffb578a157196f9bd2909914be569ba4e757239f224c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:77-93 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:132-149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:77\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7f387ff6d0323e99d3867dce4ff62dad90d64df3e5bda4d0ee00dab8f00408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:488-507 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:565-584 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:488\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"2256d6e72900c800cce13332440f35563db6645af903d5f3ddf53035b0db90b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1488-1522 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1599-1633 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1488\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"139089b9faff97a55c86c07378c5c214b877723c05a0fbc6d855139398f1a998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala:154-170 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala:154-170 | simclusters/simclusters_v2/summingbird/storm/TwhinTweetJobRunner.scala:187-203 | simclusters/simclusters_v2/summingbird/storm/TwhinUserJobRunner.scala:144-160 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 135 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala:154\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":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4758ce3dddbc0e9fecf2359f747e76cb3f896f014abd25e4d7163c5edf3176f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:341-357 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala:107-123 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:212-228 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:341\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060ManhattanClientConfig\u0060 in one and \u0060MemCachedClientConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala:106\u0060 calls \u0060of\u0060 and \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:211\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":"botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43361170fcba6e7ad156594565694d4ccc12e54da8e8e3b80e177879dc62015"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:284-300 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:164-180 \u2014 before extracting anything, compare \u0060botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala\u0060 and \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:284\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"9962192532ea6abb634ef1a7853988f20e1ff733f8492a39e8c9c0cecec55806"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1953-1969 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2020-2036 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1953\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1953}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9e3fe4f9fb7fea45263cd5263b2507fb4fbb49789d9c131063bb76928a862c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): simclusters/simclusters_v2/scalding/topic_recommendations/ProducersForTopicsFromTopicFollowGraph.scala:34-49 | simclusters/simclusters_v2/scalding/topic_recommendations/ProducersForTopicsFromTopicFollowGraph.scala:71-87 \u2014 both copies are in the same file, so extract the block 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 \u0060simclusters/simclusters_v2/scalding/topic_recommendations/ProducersForTopicsFromTopicFollowGraph.scala:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060simclusters/simclusters_v2/scalding/topic_recommendations/ProducersForTopicsFromTopicFollowGraph.scala:33\u0060 calls \u0060args\u0060 and \u0060simclusters/simclusters_v2/scalding/topic_recommendations/ProducersForTopicsFromTopicFollowGraph.scala:70\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":"simclusters/simclusters_v2/scalding/topic_recommendations/ProducersForTopicsFromTopicFollowGraph.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e447080dc54d2ab540e21625955723758df8669ec76d69c30d9adab874f83a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala:132-147 | simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala:147-162 | simclusters/simclusters_v2/summingbird/storm/TweetJobRunner.scala:199-214 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJobRunner.scala:163-178 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala:147-162 | simclusters/simclusters_v2/summingbird/storm/TwhinTweetJobRunner.scala:180-195 | simclusters/simclusters_v2/summingbird/storm/TwhinUserJobRunner.scala:137-152 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala:132\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060simclusters/simclusters_v2/summingbird/storm/TweetJobRunner.scala:218\u0060 calls \u0060set\u0060, \u0060FlatMapParallelism\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala:166\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bbd42851a1a430b7adb2de3c920381020819bb1293c416ad867fc9fea74606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala:313-328 | simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala:336-351 | simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala:359-374 | simclusters/simclusters_v2/scalding/mbcg/UserEmbeddingGenerationJob.scala:200-215 | simclusters/simclusters_v2/scalding/mbcg/UserEmbeddingGenerationJob.scala:223-238 | simclusters/simclusters_v2/scalding/mbcg/UserEmbeddingGenerationJob.scala:246-261 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala\u0060 and \u0060simclusters/simclusters_v2/scalding/mbcg/UserEmbeddingGenerationJob.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"433742972129517889338f3d1bf36ad7d901f49da0ddde6db725ae7d1909b5bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:190-205 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:377-392 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:152-167 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:298-313 \u2014 before extracting anything, compare \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 120 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 \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:190\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060LocalCounterConfig\u0060 in one and \u0060LocalStoreConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bd2a9fec3f2559ce6f6e6690ef037178cbf383562d504a8bc1113f05e13385"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:233-248 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:418-433 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:195-210 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:338-353 \u2014 before extracting anything, compare \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 120 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 \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:233\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060LocalCounterConfig\u0060 in one and \u0060LocalStoreConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:194\u0060 calls \u0060of\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:232\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":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c5890464ac4290775a9df969c181570b8b31ee0c7f8b849298a493c8a56125"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala:53-68 | simclusters/simclusters_v2/summingbird/storm/TwhinTweetJobRunner.scala:56-71 | simclusters/simclusters_v2/summingbird/storm/TwhinUserJobRunner.scala:53-68 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinTweetJobRunner.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 98 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":"simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f62ce2429e5fb887870cb543d8d08e1397c6439dc0f1d81a1afa0d0f12c64f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): agatha/scalding/data/loaders/HashtagTweetsDataLoader.scala:42-57 | agatha/scalding/data/loaders/TweetAuthorEngagementGraph.scala:49-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agatha/scalding/data/loaders/HashtagTweetsDataLoader.scala:42\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agatha/scalding/data/loaders/HashtagTweetsDataLoader.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d3fab940cba970c572e5cd4b2d4df2fd77cd1a5f7a4db62db351db50f5cde1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2264-2297 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2371-2404 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2264\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b893106df17d280ae98fe6025f79a95495a35a902c745988ef45497e75521a5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2469-2512 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2599-2642 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2469\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccf42eac36c1964b82d8522bea1230419b90e1da844f16b51e75a3c6a12ad02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (94 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9273-9366 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9515-9608 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9273\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9273}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3914bfb272ec228593b42362a683ed873e01295c35cfccba33d547339112c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10277-10331 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10432-10486 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10277\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18ebf9ef0e89a2ae3c94356a1f0353cd1ebec850f39e060f76a7d39914136d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (67 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10560-10626 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10742-10808 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10560\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10560}}}],"partialFingerprints":{"codehealthFindingId/v1":"387f3b0172d320ad189010f1c250cbc1d6655e45ce29a3deb5415ece7ad0736d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (80 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10893-10972 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11104-11183 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10893\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10893}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0bbca0843a5967eff27cc00d35d74dddf0af5cf6ff8ee5e27b95d9c8390eb00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (108 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11281-11388 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11591-11698 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11281\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95d7bb6f930607fcd9c0dec84114e5260b0bd09468da5a9cb6efa8ea67f10af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala:98-113 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala:107-122 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 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":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5659c45a7bb359833a84afb5f305ccdf59354460eb31132ee11ce4b76d687dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala:81-96 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala:81-96 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 135 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala:81\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"66419ea3692abed1261373b9ecd9d75cfb7edd261ed1e265c1170f636b7683be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): under-the-hood/scalding/UthDailyPostsBackfillJob.scala:104-119 | under-the-hood/scalding/UthDailyPostsJob.scala:111-126 \u2014 before extracting anything, compare \u0060under-the-hood/scalding/UthDailyPostsBackfillJob.scala\u0060 and \u0060under-the-hood/scalding/UthDailyPostsJob.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060under-the-hood/scalding/UthDailyPostsBackfillJob.scala:104\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthDailyPostsBackfillJob.scala"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"175854162289375c9cbeefd162fae9b5875bc5405729995ad544bd46aa3aa3a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:282-296 | botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:339-353 | botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:396-410 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:282\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":"botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"158a10be424ef89d8c598da73a5d160897e51b4b9940eeab0ab559145998b8a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:211-225 | botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:255-269 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:227\u0060 calls \u0060Option\u0060, \u0060unbox\u0060, \u0060resolve\u0060 and \u0060botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:271\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d2b549f79c01b5b98d0b115dde1a82d20483a5e1c3e02422c7d495a1d210f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5239-5253 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5305-5319 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5239\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5239}}}],"partialFingerprints":{"codehealthFindingId/v1":"453c99865236f4749cdda1a506465a9ae801c170501852be0b7f0c853ed792de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala:55-69 | simclusters/simclusters_v2/scalding/embedding/common/ExternalDataSources.scala:402-416 \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. 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":"simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4215a34fdbcd9dec5c044263233b56e3477aeb42bf87931f8e407a454bc3cb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): simclusters/simclusters_v2/scalding/embedding/EntityToSimClustersEmbeddingsJob.scala:103-117 | simclusters/simclusters_v2/scalding/embedding/LocaleEntitySimClustersEmbeddingsJob.scala:107-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060simclusters/simclusters_v2/scalding/embedding/EntityToSimClustersEmbeddingsJob.scala:103\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":"simclusters/simclusters_v2/scalding/embedding/EntityToSimClustersEmbeddingsJob.scala"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3a281a86c8c8812b43db9bface108c5579e32c71073f19709bd04d82ef890c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): simclusters/simclusters_v2/scalding/embedding/tfg/InferredLanguageTfgBasedTopicEmbeddingsBaseApp.scala:117-131 | simclusters/simclusters_v2/scalding/embedding/tfg/TfgBasedTopicEmbeddingsBaseApp.scala:84-98 \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":"simclusters/simclusters_v2/scalding/embedding/tfg/InferredLanguageTfgBasedTopicEmbeddingsBaseApp.scala"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d0bc59afe6c06018128e9702700a4f6a0433253989d71025986cb6280d333c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201314 lines \u00D7 3): simclusters/simclusters_v2/summingbird/storm/TweetJob.scala:60-69 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala:61-74 | simclusters/simclusters_v2/summingbird/storm/TwhinTweetJob.scala:57-70 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinTweetJob.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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 \u0060simclusters/simclusters_v2/summingbird/storm/TweetJob.scala:60\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":"simclusters/simclusters_v2/summingbird/storm/TweetJob.scala"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"962752576f68721bd808c333b329a1f26eb2d66f7bb3d51688bb1faeba05a576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1047-1060 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1101-1114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ba7c4997e6f6c797ab4e842fe82fefa34a0b3d63b3535b6383549569094b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3145-3163 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3241-3259 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3145\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3145}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f70ac23d20cad0d806f0606afe8e26c4e1d08aa2464565256ab8a8f1218bbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3998-4011 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4060-4073 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3998\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3998}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda02a89620a9490a4cab1184623f6baaa67137a3fe9fe6fdb6653e18f789fe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): simclusters/simclusters_v2/scalding/UserUserGraph.scala:59-71 | simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala:154-167 \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 \u0060simclusters/simclusters_v2/scalding/UserUserGraph.scala:59\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":"simclusters/simclusters_v2/scalding/UserUserGraph.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66678841b716ebed6a14b5117adff307c74e47944a3686d9a30eb0e87fa0c04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:47-60 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala:47-60 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:47\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":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae0294924845c48a6241260280e1244cd31f101439ddafe23d23330575f9803"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala:65-78 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala:65-78 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 135 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala:65\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d14804cbdd17be504d916cdfad5af4ee28a1ee54e186fa0a8f259f45e0e400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): under-the-hood/scalding/UthReferenceMonthMhPublisherJob.scala:489-502 | under-the-hood/scalding/UthUserMonthMhPublisherJob.scala:400-413 \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":"under-the-hood/scalding/UthReferenceMonthMhPublisherJob.scala"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34b3b16107319e86ba6969419918a21357d6052354d43d9723a2e40aee865fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 67): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:62-73 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:126-137 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:201-212 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:293-304 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:410-421 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:553-564 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:726-737 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:832-843 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:902-914 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:985-996 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1089-1100 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1224-1235 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1389-1400 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1587-1598 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1705-1716 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1783-1794 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1879-1890 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2008-2019 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2167-2178 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2359-2370 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2587-2598 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2720-2731 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2804-2815 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2909-2920 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3052-3063 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3228-3239 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3440-3451 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3691-3702 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3835-3846 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3926-3937 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4048-4059 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4205-4216 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4398-4409 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4630-4641 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4904-4915 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5067-5078 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5163-5174 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5293-5304 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5461-5472 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5668-5679 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5917-5928 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6211-6222 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6385-6396 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6486-6497 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6624-6635 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6803-6814 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7024-7035 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7290-7301 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7604-7615 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7790-7801 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7906-7917 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8053-8064 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8244-8255 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8480-8491 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8764-8775 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9099-9110 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9503-9514 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9903-9914 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10171-10182 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10420-10431 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10730-10741 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11092-11103 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11579-11590 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11867-11878 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12060-12071 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12207-12218 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12528-12539 \u2014 all 67 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:62\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1703\u0060 calls \u0060toScala2\u0060, \u0060get\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:830\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"96dacd6b0923a85dfc4b5c7f94f46e77a5475d5a4f8ebae4e39015bbccf85230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala:59-71 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala:59-71 | simclusters/simclusters_v2/summingbird/storm/TwhinTweetJobRunner.scala:62-74 | simclusters/simclusters_v2/summingbird/storm/TwhinUserJobRunner.scala:59-71 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 135 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":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"43208ad2c71078331be8b8658c3163e1a945f5b095d9e559395b8dd8c775428a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala:72-84 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala:71-83 | simclusters/simclusters_v2/summingbird/storm/TwhinTweetJob.scala:67-79 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala:72\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6296349434f4b1989aa7a9597a5b0d0dde9e25722bbd3051ccc024233524f0ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala:66-78 | simclusters/simclusters_v2/summingbird/storm/TwhinTweetJob.scala:62-74 | simclusters/simclusters_v2/summingbird/storm/TwhinTweetJob.scala:104-116 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinTweetJob.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 59 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 \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala:66\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b37476c082928a4a1db30149c526814e152c7a924be13ed9261357ea26f1b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala:62-74 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:171-183 \u2014 before extracting anything, compare \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala\u0060 and \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala:62\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbda001fe69c7a48d57b35dbfc50bb688951ed6c33ae8eb3b92e9ca80b25fe94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4134-4156 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4217-4239 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4134\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4134}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9682d129b179879c6b67a2ce2e470c4b37b54364b6f1669cc422a365eceb74"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4304-4336 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4410-4442 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4304\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02b6cfd1cf8d5ea67b66f46d2ac47bfdbae5bd30e2778e74bde0041f9d9cb1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4511-4554 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4642-4685 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4511\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4511}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfc77d8330494429af00aad9ecfce1f0d0bd435ce31533d2734ab389b7644ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4758-4813 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4916-4971 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4758\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4758}}}],"partialFingerprints":{"codehealthFindingId/v1":"c270aa65db41fdf810099ce93fd5aa7fe386cf2307f77038b0b0305455c4455f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (83 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9697-9779 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9915-9997 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9697\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9697}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4f5facca52078d4f312325d11ef40f9a6d940f8290197312087c7cfe7fa669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/rule/ConfigContainer.scala:54-65 | botmaker/src/scala/com/twitter/botmaker/rule/RuleContainer.scala:97-109 \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 \u0060botmaker/src/scala/com/twitter/botmaker/rule/ConfigContainer.scala:54\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":"botmaker/src/scala/com/twitter/botmaker/rule/ConfigContainer.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77ce368506347de42f96e55de7db8482bf191a4bbc08a0eaba2147991365d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala:528-540 | simclusters/simclusters_v2/scalding/update_known_for/UpdateKnownForSBFRunner.scala:274-286 \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 \u0060simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala:528\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":"simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5331116bab87b2456f89a4d8a6edec11c9586add149b012d8b8d7ae8525405b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala:334-345 | simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala:370-382 \u2014 both copies are in the same file, so extract the block 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 \u0060simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala:334\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala:369\u0060 calls \u0060args\u0060 and \u0060simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala:333\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":"simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adb981c7f817cc845f9193cd31d0b59f3f60e6e6fea15e1ec1da194bd3fe774"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): simclusters/simclusters_v2/scalding/embedding/twice/InterestedInTwiceBaseApp.scala:313-325 | simclusters/simclusters_v2/scalding/embedding/twice/InterestedInTwiceBaseApp.scala:364-376 \u2014 both copies are in the same file, so extract the block 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 \u0060simclusters/simclusters_v2/scalding/embedding/twice/InterestedInTwiceBaseApp.scala:313\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/embedding/twice/InterestedInTwiceBaseApp.scala"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee706fbfab3f6fbb5b296129bb8ec85d0555ccbd1b3d11a0666d33fde02cd59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): simclusters/simclusters_v2/scalding/offline_tweets/ClusterTopMediaTweetsJob.scala:113-125 | simclusters/simclusters_v2/scalding/offline_tweets/ClusterTopMediaTweetsJob.scala:198-210 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/offline_tweets/ClusterTopMediaTweetsJob.scala"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea83961f556f0f43b8dab605815846fbe88bf8be4bebcf4fbc971cc5606f202c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): simclusters/simclusters_v2/scalding/topic_recommendations/SimilarTopicsFromTopicFollowGraphApp.scala:41-53 | simclusters/simclusters_v2/scalding/topic_recommendations/SimilarTopicsFromTopicFollowGraphApp.scala:80-92 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060simclusters/simclusters_v2/scalding/topic_recommendations/SimilarTopicsFromTopicFollowGraphApp.scala:41\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/topic_recommendations/SimilarTopicsFromTopicFollowGraphApp.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5948bc046dd454702af98b3b66dde20c25a6f21da585395ed4fa5537620faa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala:51-63 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala:52-64 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala:51\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c78650964547496cc0a3a066c69c7a50a1f45594662c24ab971c86c95091ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): under-the-hood/scalding/UthUserMonthMhPublisherJob.scala:194-205 | under-the-hood/scalding/UthUserMonthMhPublisherJob.scala:332-344 \u2014 both copies are in the same file, so extract the block 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 \u0060under-the-hood/scalding/UthUserMonthMhPublisherJob.scala:194\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":"under-the-hood/scalding/UthUserMonthMhPublisherJob.scala"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8721e7378b0483c64c4bb0ea5fa1ecf59c7789196826c9b866332aa55b10391a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:364-375 | botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:420-431 | botmaker/botmaker_thrift/src/main/scala/com/twitter/botmaker/runtime/ScribePublisher.scala:49-60 | botmaker/botmaker_thrift/src/main/scala/com/twitter/botmaker/runtime/ThriftEndpoint.scala:306-317 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:364\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060AppClientConfig\u0060 in one and \u0060ScribePublisherConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/botmaker_thrift/src/main/scala/com/twitter/botmaker/runtime/ThriftEndpoint.scala:318\u0060 calls \u0060ArgsNode\u0060 and \u0060botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:377\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":"botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5bf2ac44328f6ee9fa4d63c89cb153f02e9a75e36918dbf5b4519d285db14e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:290-301 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:62-73 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:117-128 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:170-181 \u2014 before extracting anything, compare \u0060botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala\u0060 and \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:290\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060ManhattanClientConfig\u0060 in one and \u0060MemCachedCounterConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa1db713e3289604117564d1be63b19568ea277a52e29abbe821c05c9a70f3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:347-358 | botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:407-418 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala:113-124 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:218-229 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:347\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060ManhattanClientConfig\u0060 in one and \u0060MemCachedClientConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"711dbc2ae479c8a29aa297c4388253ad642dd540af3eef716e9d24e13022a50e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 3): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:111-122 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala:110-120 | simclusters/simclusters_v2/summingbird/storm/TwhinUserJob.scala:81-91 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:111\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c541ab208fa42fbdb9fc58b5007a55282fd5ec446f7dc9d559ae289961bc1587"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:305-316 | botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:362-372 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala:305\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_manhattan/src/main/scala/com/twitter/botmaker/runtime/ManhattanClient.scala"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fcd37d21d3d9311cbb362b3f4aa03dae6667662d9d84ebe9218618ca0bca20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201312 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:364-375 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:404-407 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:424-435 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:364\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d76c5713d0ed0b749df3df557307659316635d23581f4856876cf4555444ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1841-1852 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1891-1902 \u2014 both copies are in the same file, so extract the block 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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e0bdd203b3c1e8b58753e9ab6dd7ebc5f9d233d29fef8da84bda76ba975985"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2865-2876 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2921-2932 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2865\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2865}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7781d25381b5828be1a8030487a9b6c0c89b736917180afe70daafb98684800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/rule/RuleAst.scala:175-186 | botmaker/src/scala/com/twitter/botmaker/rule/RuleAst.scala:190-201 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/rule/RuleAst.scala:175\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":"botmaker/src/scala/com/twitter/botmaker/rule/RuleAst.scala"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da4c15e7881c96ff529bd52d6f3345cc230dbcbf3e086cd023655016c10f1ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/rule/RuleAst.scala:207-218 | botmaker/src/scala/com/twitter/botmaker/rule/RuleAst.scala:220-231 \u2014 both copies are in the same file, so extract the block 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":"botmaker/src/scala/com/twitter/botmaker/rule/RuleAst.scala"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50cfd4a0533bda33dd34e4cefed903f469daffbd060a8a4837164b36f7e54d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:171-182 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:214-225 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:171\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":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cec67d29b980e39608f9c85bb8434a69622e64efacc2a835a791642eb64fa1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): simclusters/simclusters_v2/scalding/KnownForSources.scala:196-207 | simclusters/simclusters_v2/scalding/UserUserFavGraph.scala:274-282 \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 \u0060simclusters/simclusters_v2/scalding/UserUserFavGraph.scala:274\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/KnownForSources.scala"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04da298ccebd13afe3d7f1230167c19a018545122bc4436afca9951081bf41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala:515-526 | simclusters/simclusters_v2/scalding/update_known_for/UpdateKnownForSBFRunner.scala:261-272 \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 \u0060simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala:515\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":"simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25b24c8b2e1bfbbaaccc92dba364cb0f515221d95bdf0faacbd48be345fd868"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala:297-308 | simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala:330-341 \u2014 both copies are in the same file, so extract the block 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 \u0060simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala:297\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":"simclusters/simclusters_v2/scalding/UserUserNormalizedGraph.scala"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1279bb8f00bd07f2ee1d28129aa26fd2f460f3a065fc02ed26bd349b921078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): simclusters/simclusters_v2/summingbird/common/Monoids.scala:120-131 | simclusters/simclusters_v2/summingbird/common/Monoids.scala:153-164 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060simclusters/simclusters_v2/summingbird/common/Monoids.scala:120\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/common/Monoids.scala"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc5649c4dc3415fb11c250ff0d1d23cc51281b6ed3d7b12a9c8b84b1ce2e25b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 17): botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:286-296 | botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:343-353 | botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:400-410 | botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:441-451 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:148-158 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:195-205 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:238-248 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:280-290 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:337-347 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:382-392 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:423-433 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:157-167 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:200-210 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:248-258 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:303-313 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala:343-353 | botmaker/src/scala/com/twitter/botmaker/runtime/LogWriter.scala:138-148 \u2014 before extracting anything, compare \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalStore.scala\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 120 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 \u0060botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:286\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060BatchQueueConfig\u0060 in one and \u0060LocalCounterConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dea849435a0df70583673775bf48f1246a373fd796a0ec05a06c40e1bd21526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:65-75 | simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:124-134 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala:64-74 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala:122-132 | simclusters/simclusters_v2/summingbird/storm/TwhinUserJob.scala:55-65 | simclusters/simclusters_v2/summingbird/storm/TwhinUserJob.scala:93-103 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:65\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5798c4c568379e2d5986f74c9efbebc3b4e8a4f1c33800270d826511e0b61a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala:62-72 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:63-73 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:118-128 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:171-181 \u2014 before extracting anything, compare \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala\u0060 and \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala:62\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060MemCachedClientConfig\u0060 in one and \u0060MemCachedCounterConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50acf943d49e0e6e71185e1ea089906bece2920c1feab03a228fca099ecfb31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala:60-70 | simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:53-63 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala:53-62 | simclusters/simclusters_v2/summingbird/storm/TwhinUserJob.scala:44-53 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala:60\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":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"839e09bdb8c19b7f807f36dcf348051847078739a6a338b4ce09b3dc5366ba3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:78-88 | simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:137-147 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala:77-87 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala:135-145 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:78\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":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cb6b98144d5bf0c1f2af842b22ea2ef378a55e4dcd2b8a7b22d8f8e298b0a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): agatha/scalding/data/loaders/FavGraphDataLoader.scala:20-28 | agatha/scalding/data/loaders/FavedTweetsDataLoader.scala:20-30 \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 \u0060agatha/scalding/data/loaders/FavGraphDataLoader.scala:20\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agatha/scalding/data/loaders/FavGraphDataLoader.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7991b230d8eb4fdd86762edff2b1550b97a0b92026497b981961aff74270c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:642-669 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:738-765 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:642\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e2d0f49768d48183b749f8c3aa3622c5f7466007c3ef7df82c2fb475168879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3333-3371 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3452-3490 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3333\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3333}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaf0ebbf8cf80200ff0dce55c386a4a5f8e866d239d9a084d5abf5e8af66ace"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3559-3608 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3703-3752 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3559\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3559}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb621f47cf517ea9108c49d5b313629b73de778c76ea6883f47cb722e124ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (89 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12309-12397 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12540-12628 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12309\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":12309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d5acd620d807f67cfafc57bce1ffbfdce9da571b5d972da285542cc84280a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:162-172 | botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:209-219 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala:162\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/LocalCounter.scala"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbd7d79aeaa6ba57e4f6af8e7462c3b7abfdfe9caf9e93d660dcbba5b9e7768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): simclusters/simclusters_v2/scalding/embedding/EntityEmbeddingFromProducerEmbeddingJob.scala:46-56 | simclusters/simclusters_v2/scalding/embedding/EntityEmbeddingFromProducerEmbeddingJob.scala:111-121 \u2014 both copies are in the same file, so extract the block 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":"simclusters/simclusters_v2/scalding/embedding/EntityEmbeddingFromProducerEmbeddingJob.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e803d58dc58fe5fb042a4651f0e0651b3f9493302bfc5eb04aa5eb7e35aea2b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): simclusters/simclusters_v2/scalding/embedding/SimilarUsersBySimClustersEmbedding.scala:163-172 | simclusters/simclusters_v2/scalding/embedding/SimilarUsersBySimClustersEmbedding.scala:179-189 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060simclusters/simclusters_v2/scalding/embedding/SimilarUsersBySimClustersEmbedding.scala:163\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"simclusters/simclusters_v2/scalding/embedding/SimilarUsersBySimClustersEmbedding.scala"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfcce57ddd086abcc11752714e30c8f95d4ace92b8871367ce2e7bf9a1ac5cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): under-the-hood/scalding/UthDailyPostsBackfillJob.scala:127-137 | under-the-hood/scalding/UthDailyPostsJob.scala:133-143 \u2014 before extracting anything, compare \u0060under-the-hood/scalding/UthDailyPostsBackfillJob.scala\u0060 and \u0060under-the-hood/scalding/UthDailyPostsJob.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060under-the-hood/scalding/UthDailyPostsBackfillJob.scala:127\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthDailyPostsBackfillJob.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cc050a2f5c6f3466dcb4a4e28288c01cd7fcdfd618adf439d02a5dad8e3170"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala:132-141 | simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala:147-156 | simclusters/simclusters_v2/summingbird/storm/PersistentTweetJobRunner.scala:174-183 | simclusters/simclusters_v2/summingbird/storm/TweetJobRunner.scala:199-208 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJobRunner.scala:163-172 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJobRunner.scala:147-156 | simclusters/simclusters_v2/summingbird/storm/TwhinTweetJobRunner.scala:180-189 | simclusters/simclusters_v2/summingbird/storm/TwhinUserJobRunner.scala:137-146 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJobRunner.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f635335fac4ccf034a2b67950c77602ea74e95cd25b0ed5c0e44abf1a0f07192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7687-7696 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8837-8846 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9614-9623 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10003-10012 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12634-12643 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7687\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7687}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac516aac717d008e6831fa0e1ead537721e966d2f3e63c3927759fcaf09f8575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3755-3764 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4688-4697 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5718-5727 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10489-10498 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3755\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3755}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a2a80a562229a51fc74342879f3508b18e38b0ff4b0e62056f1b4e2b994639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4975-4984 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5980-5989 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7078-7087 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10812-10821 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4975\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4975}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31036f46e67440a8df35a21bb86497cdf84b1de80baf3da9233c473ab6c705a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6288-6297 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7358-7367 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8538-8547 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11188-11197 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6288\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6288}}}],"partialFingerprints":{"codehealthFindingId/v1":"a312a308a6620e25822351f1c62fa4171bcd3f5d042598cbb3018ae599b55d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:766-775 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1427-1436 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2203-2212 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:766\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"c239a51aadcbb06b0be47fbb05d1034ee1e401ad29afd87471a1e42ddeb2c7b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1635-1644 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2405-2414 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3269-3278 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1635\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"16330fade71ff37972391ab91ef04bd2007e3a02f2b280671660d02da2a2f19b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2644-2653 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3492-3501 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4444-4453 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2644\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcc814c736c87c96b0021b851e4f4ce7a8b3396ddbf1752d0d30bb952f5a118"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala:62-71 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJobRunner.scala:68-77 | simclusters/simclusters_v2/summingbird/storm/TwhinTweetJobRunner.scala:67-74 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJobRunner.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 111 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala:62\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJobRunner.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9623a6a2e5f7a868a3cfa66a6582ba7ba2545efe99aadd698e72e27a7dd902"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): agatha/scalding/util/PredictionsToDataSetPipe.scala:72-81 | agatha/scalding/util/PredictionsToDataSetPipe.scala:93-102 \u2014 both copies are in the same file, so extract the block 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 \u0060agatha/scalding/util/PredictionsToDataSetPipe.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":"agatha/scalding/util/PredictionsToDataSetPipe.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8360f2d299acc34c3af048c3cbbe6dda3dc0d273f4e0eaf5a21c167197a79d57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:584-593 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1253-1262 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:584\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3afc31a6f879266e1aaf39642f1671228489b386db040a532a2bfa8b656423"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5389-5408 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5478-5497 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5389\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5389}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebca09535eb291240fa25a757e18f359f43f69675116b401d7bb4dccf7d335c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5571-5601 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5685-5715 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5571\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5571}}}],"partialFingerprints":{"codehealthFindingId/v1":"634050bad9f2f1a13fad8789aba2f610119802aeb50d704b744b6854e31ded7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5793-5835 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5934-5976 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5793\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5793}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26850044e8761f3f74a1d0969325eb79b1b9ff0ad56789481adae253fb434bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6058-6113 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6228-6283 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6058\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6058}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ff9f066785b1448a82f860d6a0d3869e22963317fc220c17e56078bf3463b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6566-6581 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6636-6651 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6566\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6566}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e40921a1d3f728ac8788d489191fb4b5e6f0d3268de17f84aeae571e7dd1fb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6726-6746 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6821-6841 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6726\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6726}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad43d9f9aa21dec4f9afcda184bc947b8e3eaae49df5b2f9761e778e9fb9171f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6920-6952 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7042-7074 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6920\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6920}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec856ea988bc911dddc93f42f953b3a433a952bff46f75ff8daf624c0a797f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7157-7202 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7308-7353 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7157\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7157}}}],"partialFingerprints":{"codehealthFindingId/v1":"59393fd4ecb421bc26cf7d399be91943b2cf51b77881c8c2cdc6a7af3980089c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7490-7499 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7597-7599 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7672-7681 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7490\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7490\u0060 calls \u0060Option\u0060, \u0060toScala8\u0060, \u0060get\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7597\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7490}}}],"partialFingerprints":{"codehealthFindingId/v1":"5681da818e3eb9e74211f0487b6ee16c1292ffc268702cee905911d3fb06706f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7991-8007 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8065-8081 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7991\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7991}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaef6a3c03b43c406b1315d36c0dfadc4e5ecb6c00894177fe2cd024debcaf06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8162-8183 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8263-8284 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8162\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5c43c82f147e77b0a78503aa838d45bb76011cc305aa06840bc3f6f42d9009"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8369-8403 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8499-8533 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8369\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8369}}}],"partialFingerprints":{"codehealthFindingId/v1":"624140d2769e6dc5828ead405904e5940afca56b48f2637cd5ee32ce5b3e6f0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8622-8670 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8783-8831 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8622\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8622}}}],"partialFingerprints":{"codehealthFindingId/v1":"472c0554df35aba0af854eefde7f254766119566f2290f5ab0b6f9b6d3f43e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 7): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8758-8760 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8978-8987 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8992-8994 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9076-9078 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9092-9094 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9172-9181 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9186-9188 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8978\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8978\u0060 calls \u0060Option\u0060, \u0060toScala9\u0060, \u0060get\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8758\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8758}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2cf1a45fed3b05fbbc3cf8117415b25374d8e63fb5ae02df27165fbaa092ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201310 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10104-10113 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10148-10151 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10194-10203 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10104\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10104\u0060 calls \u0060toScala9\u0060, \u0060get\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10148\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9be463dc98cef168fb5c33f8004a7e29263d62bb419adb36170727a1cccfc97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8994-8998 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9094-9096 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9188-9192 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11396-11405 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11556-11558 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11706-11715 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8994\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. 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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8994}}}],"partialFingerprints":{"codehealthFindingId/v1":"2077405562bdd4e3d83082bc08306390759ab8cd5ba2448e58b69f5942fdd86d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201310 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11809-11818 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11847-11850 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11887-11896 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12178-12182 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12202-12205 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12225-12229 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11809\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11809\u0060 calls \u0060toScala6\u0060, \u0060get\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11847\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11809}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a355448db18eac7a49de5a3221fe8039bd6b447fd5854b80d12a5ba8cb88d0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201310 lines \u00D7 12): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10101-10103 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10116-10118 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10146-10148 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10162-10164 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10191-10193 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10206-10208 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11996-12005 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12008-12010 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12037-12039 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12052-12054 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12082-12091 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12094-12096 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11996\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11995\u0060 calls \u0060toScala7\u0060, \u0060get\u0060, \u0060toScala8\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10101\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a7608028b29b3cf754bf373037aa2e7df8d3b51531c321381480f34d8fcf42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): simclusters/simclusters_v2/scalding/embedding/tfg/InferredLanguageTfgBasedTopicEmbeddingsBaseApp.scala:62-70 | simclusters/simclusters_v2/scalding/topic_recommendations/TopicsForProducersUtils.scala:66-75 \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 \u0060simclusters/simclusters_v2/scalding/embedding/tfg/InferredLanguageTfgBasedTopicEmbeddingsBaseApp.scala:62\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060simclusters/simclusters_v2/scalding/topic_recommendations/TopicsForProducersUtils.scala:65\u0060 calls \u0060withDescription\u0060 and \u0060simclusters/simclusters_v2/scalding/embedding/tfg/InferredLanguageTfgBasedTopicEmbeddingsBaseApp.scala:61\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":"simclusters/simclusters_v2/scalding/embedding/tfg/InferredLanguageTfgBasedTopicEmbeddingsBaseApp.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef3e8298f1bb5d5c5b92bea6a9718c211135050378baca139746043debb2bfd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): under-the-hood/scalding/UthDailyPostsBackfillJob.scala:256-268 | under-the-hood/scalding/UthDailyPostsJob.scala:359-371 \u2014 before extracting anything, compare \u0060under-the-hood/scalding/UthDailyPostsBackfillJob.scala\u0060 and \u0060under-the-hood/scalding/UthDailyPostsJob.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060under-the-hood/scalding/UthDailyPostsBackfillJob.scala:256\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":"under-the-hood/scalding/UthDailyPostsBackfillJob.scala"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9597d2f35be787d649876ded7a9ccadcbe8bcb539ba8e5b8837bd126f81fb5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 134): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:37-44 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:51-58 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:104-111 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:117-124 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:169-176 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:186-193 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:250-257 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:272-279 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:354-361 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:382-389 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:480-487 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:516-523 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:634-641 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:679-686 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:803-810 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:819-826 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:878-886 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:892-900 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:948-955 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:968-975 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1039-1046 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1065-1072 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1157-1164 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1191-1198 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1303-1310 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1346-1353 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1480-1487 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1533-1540 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1674-1681 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1691-1698 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1754-1761 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1770-1777 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1833-1840 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1857-1864 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1945-1952 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1977-1984 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2085-2092 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2126-2133 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2256-2263 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2307-2314 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2461-2468 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2523-2530 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2685-2692 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2704-2711 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2773-2780 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2790-2797 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2857-2864 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2884-2891 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2981-2988 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3017-3024 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3136-3143 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3182-3189 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3325-3332 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3382-3389 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3551-3558 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3620-3627 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3798-3805 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3818-3825 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3891-3898 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3910-3917 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3990-3997 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4020-4027 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4126-4133 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4166-4173 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4296-4303 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4347-4354 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4503-4510 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4566-4573 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4750-4757 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4826-4833 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5028-5035 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5049-5056 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5126-5133 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5146-5153 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5231-5238 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5263-5270 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5376-5383 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5419-5426 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5558-5565 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5613-5620 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5780-5787 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5848-5855 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6045-6052 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6127-6134 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6344-6351 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6366-6373 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6447-6454 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6468-6475 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6558-6565 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6592-6599 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6712-6719 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6758-6765 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6906-6913 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6965-6972 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7143-7150 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7216-7223 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7426-7433 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7514-7521 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7747-7754 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7770-7777 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7865-7872 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7887-7894 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7983-7990 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8019-8026 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8147-8154 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8196-8203 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8354-8361 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8417-8424 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8607-8614 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8685-8692 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8909-8916 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9003-9010 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9265-9272 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9381-9388 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9689-9696 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9794-9801 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10085-10092 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10129-10136 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10269-10276 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10343-10350 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10552-10559 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10639-10646 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10885-10892 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10986-10993 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11273-11280 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11422-11429 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11793-11800 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11831-11838 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11978-11985 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12020-12027 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12164-12171 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12187-12194 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12301-12308 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12412-12419 \u2014 all 134 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:957\u0060 calls \u0060evaluate\u0060, \u0060toScala1\u0060, \u0060get\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1842\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce7505775b69ed589dddfa2173b8f9071f76ebad0140b0e83ddf0a4eb956a82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:81-89 | simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:98-106 | simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:140-148 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala:80-88 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala:97-105 | simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala:138-146 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 147 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 \u0060simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala:81\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96caff5ebf15bb13a06436918d6157bdd64ee95ed0ebb192cc2b7d7c952b2b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): under-the-hood/scalding/UthDailyPostTakedownLabelsJob.scala:155-163 | under-the-hood/scalding/UthDailyPostsBackfillJob.scala:104-112 | under-the-hood/scalding/UthDailyPostsJob.scala:111-119 \u2014 before extracting anything, compare \u0060under-the-hood/scalding/UthDailyPostsBackfillJob.scala\u0060 and \u0060under-the-hood/scalding/UthDailyPostsJob.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060under-the-hood/scalding/UthDailyPostTakedownLabelsJob.scala:155\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":"under-the-hood/scalding/UthDailyPostTakedownLabelsJob.scala"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"121afb61a7b914813bb0f9ca425ff334a803759b0829e8e2be91eb2ae31b5cd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala:36-44 | botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala:94-102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala:46\u0060 calls \u0060ConfigFailure\u0060 and \u0060botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala:103\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d65cf41d957003ffdf85a1b5ffae607a367f06f31bf414283ea2609d9f77b7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:258-267 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:305-314 \u2014 both copies are in the same file, so extract the block 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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"692cfba1871d669f6a388d68e707ea027d74804aabd99be39a0fdce0723b5dc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7440-7484 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7622-7666 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7440\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7440}}}],"partialFingerprints":{"codehealthFindingId/v1":"992df31ee1d1d3b000ff250dbb82105bc5c38c512fa0d3ff4c06155bdb55c2e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8924-8971 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9118-9165 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8924\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8924}}}],"partialFingerprints":{"codehealthFindingId/v1":"6099bbda1ff2201ab5a306e1ec69a556fb9027185b410c95d52940e7ea47b684"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/rule/RuleAst.scala:263-271 | botmaker/src/scala/com/twitter/botmaker/rule/RuleAst.scala:273-281 \u2014 both copies are in the same file, so extract the block 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":"botmaker/src/scala/com/twitter/botmaker/rule/RuleAst.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37a775e2ecb2b6491f615772df3c5086ac30f9ca3b7d67adb1e4075d79be998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): simclusters/simclusters_v2/summingbird/stores/AdsTwhinUserEmbeddingStore.scala:29-37 | simclusters/simclusters_v2/summingbird/stores/TwhinUserEmbeddingStore.scala:54-62 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/summingbird/stores/AdsTwhinUserEmbeddingStore.scala\u0060 and \u0060simclusters/simclusters_v2/summingbird/stores/TwhinUserEmbeddingStore.scala\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. 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":"simclusters/simclusters_v2/summingbird/stores/AdsTwhinUserEmbeddingStore.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e964bc16308bd6b874b43dcaa9d67c8e27be93db4657ec0a37bf4b1d24952a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 7): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12427-12433 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12435-12442 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12445-12452 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12456-12463 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12468-12475 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12481-12488 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12495-12502 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12427\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":12427}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b52e1af481020dc91364b7a78fa76356e71e8ddd4b021cd6e19eaddcef4d334"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7505-7512 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8676-8683 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9372-9379 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9785-9792 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12403-12410 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7505\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7505}}}],"partialFingerprints":{"codehealthFindingId/v1":"e769b68702f8962fb1938f4e30fc2c96590ce266082d76e6b1067572c4e116ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3611-3618 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4557-4564 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5604-5611 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10334-10341 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3611\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3611}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d3e4f7870755bed01867879a303c22f4b3c81ae331ed1b297c8cfc186e4d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3635-3641 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3643-3650 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3653-3660 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3664-3671 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3635\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3635}}}],"partialFingerprints":{"codehealthFindingId/v1":"c924923fc957a4e8cea39983855ea68e50dfc24a23a75d52b71933598dbb7d52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4817-4824 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5839-5846 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6956-6963 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10630-10637 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4817\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4817}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9412881e699bcc9c49abe76714fa57f6305e9a76aeb3bec9ec397a454e2a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6118-6125 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7207-7214 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8408-8415 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10977-10984 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6118\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6118}}}],"partialFingerprints":{"codehealthFindingId/v1":"add1907885d7ffe19f19f8c0241a5efae61559091535d77317d52fa5afb95715"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:670-677 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1337-1344 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2117-2124 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:670\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c432a550283ae2af38ae5b5e4681878e0263e2430243d6aa823b1548bc52808"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1524-1531 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2298-2305 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3173-3180 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1524\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec92917f8e4e7f199d8e341e0019212b9900c76c5309f57c031c3817845e6306"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2514-2521 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3373-3380 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4338-4345 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2514\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb3cf6dcf7456c13d0736697cf546fb3d9149485fb50207222ccc951af262d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3397-3403 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3405-3412 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3415-3422 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3397\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3397}}}],"partialFingerprints":{"codehealthFindingId/v1":"da75045a135275ab0d771b6c577ffc8650a587e4a35c52719e4983dbd895f544"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): agatha/scalding/data/FeatureExtractionTemplate.scala:44-51 | agatha/scalding/labels/LabelExtractionTemplate.scala:60-66 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agatha/scalding/data/FeatureExtractionTemplate.scala:44\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agatha/scalding/data/FeatureExtractionTemplate.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a641cee6fd5a36f17699120fb6249c27cb5554485e644c6d8bc396117f8b5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:394-401 | botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:451-458 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:449\u0060 calls \u0060get\u0060 and \u0060botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala:392\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":"botmaker/botmaker_app/src/main/scala/com/twitter/botmaker/app/client/AppClient.scala"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"af078cdfd01caa89a79d682250147be52a9ff6bdd189a290f07ae4d4bb166110"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala:41-48 | botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala:42-49 \u2014 before extracting anything, compare \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala\u0060 and \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedCounter.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 89 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 \u0060botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala:41\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060config\u0060 to \u0060MemCachedClientConfig\u0060 in one and \u0060MemCachedCounterConfig\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_memcached/src/main/scala/com/twitter/botmaker/runtime/MemCachedClient.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"453de0c61367a5887373a2ad87dd4be76d8f0dd88616109034d69a5eeb8ae147"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:507-514 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1182-1189 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:507\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"934f04fcbc4bc5f8b1ec01dfbaa6a24d62dba2fc0f5ce94fca6747bf51fa1a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:956-963 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:997-1004 \u2014 both copies are in the same file, so extract the block 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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74f718e65d70dd6ddd73c4e066253692799bca836cd15ae1eb5f01d1bbef2c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3197-3203 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3205-3212 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3197\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d085a60f161ac100fda604da31973551b93a82c8ea113eab16007f4d0654928"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): simclusters/simclustersann/candidate_source/ExperimentalApproximateCosineSimilarity.scala:65-72 | simclusters/simclustersann/candidate_source/OptimizedApproximateCosineSimilarity.scala:39-46 \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":"simclusters/simclustersann/candidate_source/ExperimentalApproximateCosineSimilarity.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"73edb12a3081362dcde3f66227d412482990b49c96f3ffbaf5bb547a46cb4ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): under-the-hood/scalding/UthDailyPostsBackfillJob.scala:287-300 | under-the-hood/scalding/UthDailyPostsJob.scala:379-391 \u2014 before extracting anything, compare \u0060under-the-hood/scalding/UthDailyPostsBackfillJob.scala\u0060 and \u0060under-the-hood/scalding/UthDailyPostsJob.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060under-the-hood/scalding/UthDailyPostsBackfillJob.scala:287\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthDailyPostsBackfillJob.scala"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"59549bcca41895c1bde17b9856084dfa050c5a7650923bf458eba0d895b56765"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 18): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11292-11297 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11299-11305 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11308-11314 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11318-11324 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11329-11335 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11341-11347 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11354-11360 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11368-11374 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11383-11389 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11602-11607 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11609-11615 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11618-11624 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11628-11634 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11639-11645 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11651-11657 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11664-11670 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11678-11684 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11693-11699 \u2014 all 18 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11292\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff5d8775059b96180ea2028264386cda11a7b908c0aa49e86ed49eed3a57fb1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 14): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9284-9289 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9291-9297 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9300-9306 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9310-9316 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9321-9327 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9333-9339 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9346-9352 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9526-9531 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9533-9539 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9542-9548 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9552-9558 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9563-9569 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9575-9581 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9588-9594 \u2014 all 14 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9284\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9284}}}],"partialFingerprints":{"codehealthFindingId/v1":"a146ce5ed235fcbdd6cad91a98bebac0056d49424705c0ba487cbb99f831aa89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 14): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12315-12320 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12322-12328 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12331-12337 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12341-12347 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12352-12358 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12364-12370 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12377-12383 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12546-12551 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12553-12559 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12562-12568 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12572-12578 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12583-12589 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12595-12601 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12608-12614 \u2014 all 14 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12315\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":12315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7920e0c993dd7251c9339ae4a85008bb3a841a55f5beb170f4718aff6b75c8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 12): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10904-10909 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10911-10917 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10920-10926 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10930-10936 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10941-10947 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10953-10959 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11115-11120 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11122-11128 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11131-11137 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11141-11147 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11152-11158 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11164-11170 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10904\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10904}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b1d1bafe3be7463b58896e542e244efdef56b9b3a3bdb416ee314d96f5d97d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 10): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10571-10576 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10578-10584 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10587-10593 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10597-10603 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10608-10614 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10753-10758 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10760-10766 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10769-10775 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10779-10785 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10790-10796 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10571\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10571}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bc347ce775eed0780e4463f840f82c44bf334312cef03458889484f32d324f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3565-3570 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3572-3578 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3581-3587 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3591-3597 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3709-3714 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3716-3722 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3725-3731 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3735-3741 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3565\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3565}}}],"partialFingerprints":{"codehealthFindingId/v1":"0936e093dbdf07177e61cbd9a49d7efbad8bf4205b49922fc373f2377c605329"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10288-10293 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10295-10301 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10304-10310 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10314-10320 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10443-10448 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10450-10456 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10459-10465 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10469-10475 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10288\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10288}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aec13544e2d6f8b0221177f56e55cba291184bc5b42f130c171a1d90d188aa7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): agatha/hub/agatha/job/AgathaJobTemplates.scala:119-125 | agatha/hub/agatha/job/AgathaJobTemplates.scala:169-175 | agatha/scalding/blink/BlinkScoreJobTemplate.scala:262-268 | agatha/scalding/data/FeatureExtractionTemplate.scala:42-48 | agatha/scalding/labels/LabelExtractionTemplate.scala:58-64 | agatha/scalding/quantile/QuantileFeatureExport.scala:199-205 \u2014 there are 6 copies across 5 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 6 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060agatha/hub/agatha/job/AgathaJobTemplates.scala:119\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":"agatha/hub/agatha/job/AgathaJobTemplates.scala"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad52921a607a4c97f3a3e42acecfac45d3c9894dd5a93f5a22ace3647ff1b841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2480-2485 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2487-2493 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2496-2502 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2610-2615 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2617-2623 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2626-2632 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2480\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"9732c0108ee7c11502571fda0a49a799e12503c59d80578f3a07cf59929df8d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3339-3344 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3346-3352 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3355-3361 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3458-3463 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3465-3471 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3474-3480 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3339\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3339}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60ce8dc6d39e9d6ef8d8136ae7a310b70aa86fceb36d16be7f3810d02381494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9810-9816 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9820-9826 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9831-9837 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9843-9849 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9856-9862 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9870-9876 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9810\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9810}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a28bdcc3cb6cc8da859df937e9fd82e47b11f20951a1f41dd8bfcc172104a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4842-4848 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4852-4858 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4863-4869 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4875-4881 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4842\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4842}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acda825c6191aed9efadcbaccbfbb9fed14cc38889bb2e137730d87ca2d170b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6144-6150 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6155-6161 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6167-6173 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6180-6186 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6144\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be0b9c2cda35989705015168b6e20e841d9beed2a010bb67184897c9da917a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7532-7538 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7544-7550 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7557-7563 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7571-7577 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7532\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7532}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94b15307433b8a453010cb4b3dec70d60d7cfc9dd4ec9e39ff6ff7531cb517d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9022-9028 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9035-9041 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9049-9055 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9064-9070 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9022\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9022}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db00dd788dd607e70e3ea3edb2cacda94d54bf6efd38f8d9f9d22702a408061"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4582-4588 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4592-4598 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4603-4609 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4582\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4582}}}],"partialFingerprints":{"codehealthFindingId/v1":"e071cbf0f2b0e2d1ee947af203655ce7122069141cad735bc4169ec4c820ff70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5865-5871 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5876-5882 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5888-5894 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5865\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5865}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01d2e49691d815eb5409b0b4b0d94e8ae13b55b06e8d6c353ca48453a601ef4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7234-7240 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7246-7252 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7259-7265 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7234\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d0a245cbc16f4a6b18039a657174c425f345f336875d24ccd2c6c2b36e7f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8704-8710 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8717-8723 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8731-8737 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8704\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8704}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfe0b5ebb221cf7adb133f21a1c86c1401404d8b01b9a66fd0c655fbe3e1cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:124-130 | botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:150-156 | botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala:184-190 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/runtime/BatchQueue.scala"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"45db006ec51d06907802e88e5170eb5c888094758c9ef41d1e52a083b5f08a22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4363-4369 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4373-4379 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4363\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4363}}}],"partialFingerprints":{"codehealthFindingId/v1":"0817611c9254547e0473fff26b75a6aaa9de1bda774983c537370d9963b7e7e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5630-5636 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5641-5647 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5630\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5630}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ac1c498f5bc5b1c5454d8b8010defddc101380654a2a6f7de9268ec74d8ad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6983-6989 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6995-7001 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6983\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6983}}}],"partialFingerprints":{"codehealthFindingId/v1":"344b6151105716142690d45bf656f84534aab35b4a8a130e4ef6bcce806bf9e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8436-8442 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8449-8455 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8436\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e282143d75337409f76267364cdcec06b960c35c7e85f95c5ee0ce915afaf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): under-the-hood/scalding/UthReferenceMonthMhPublisherJob.scala:35-41 | under-the-hood/scalding/UthUserMonthMhPublisherJob.scala:29-35 \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":"under-the-hood/scalding/UthReferenceMonthMhPublisherJob.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7458e921af373087d3387b227c8a3c8034c608ab38ee1d9c94d78d2571043e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 12): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9704-9709 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9713-9718 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9723-9728 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9734-9739 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9746-9751 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9759-9764 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9922-9927 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9931-9936 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9941-9946 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9952-9957 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9964-9969 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9977-9982 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9704\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9704}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a891ceb10d048440d8dcbc02135c366031e12618bb9445ef3a478efe7e5b9dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11436-11441 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11443-11448 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11451-11457 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11461-11467 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11472-11478 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11484-11490 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11497-11503 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11511-11517 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11526-11532 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11542-11548 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11436\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11436}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95725159da192ba36f0690c283b0ee9c760921f2b8a7c56ea65b01b81db5676"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 10): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11444-11449 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11453-11458 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11463-11468 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11474-11479 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11486-11491 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11499-11504 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11513-11518 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11528-11533 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11544-11549 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11561-11566 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11444\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11444}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3470cf36f279f66bd548bd5eb2aa743f8e4082b8ed677fa22433ed75d1b8671"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4765-4770 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4774-4779 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4784-4789 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4795-4800 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4923-4928 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4932-4937 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4942-4947 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4953-4958 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4765\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4765}}}],"partialFingerprints":{"codehealthFindingId/v1":"569f2f550372fdfde4d8cedc32cbb7112d04cc53e59828031a2df3ebf50e0a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6061-6066 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6071-6076 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6082-6087 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6094-6099 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6231-6236 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6241-6246 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6252-6257 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6264-6269 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6061\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6061}}}],"partialFingerprints":{"codehealthFindingId/v1":"0635eddc3bd75cc76556139be992e123962f06e1a209faca210bd56c4718d5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7443-7448 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7454-7459 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7466-7471 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7479-7484 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7625-7630 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7636-7641 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7648-7653 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7661-7666 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7443\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7443}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3890e57e03049700da5881a5f09db16aa7c95a315b8bb36125d748c38ed1fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8927-8932 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8939-8944 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8952-8957 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8966-8971 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9121-9126 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9133-9138 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9146-9151 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9160-9165 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8927\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8927}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f87d092dbcd82c7ceade93888a892f8ad9e80199acdd3579cd3e1e1d783f87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9395-9400 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9402-9407 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9410-9416 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9420-9426 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9431-9437 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9443-9449 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9456-9462 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9470-9476 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9395\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9395}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e39ac56378ca7c063ada3a4445524eb07a3d2d921d173517bc40b91a80f1c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9403-9408 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9412-9417 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9422-9427 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9433-9438 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9445-9450 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9458-9463 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9472-9477 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9487-9492 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9403\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5ad01460e71717d5f8c145e3fd1bc1d47ab81861f3e030908125199b19ee27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9803-9808 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9812-9817 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9822-9827 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9833-9838 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9845-9850 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9858-9863 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9872-9877 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9887-9892 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9803\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9803}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1e7877273055fea3374e92763477c62c7f0306230e87cb504bcf472c6de555"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12428-12433 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12437-12442 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12447-12452 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12458-12463 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12470-12475 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12483-12488 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12497-12502 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12512-12517 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12428\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":12428}}}],"partialFingerprints":{"codehealthFindingId/v1":"7033717aca283f43a3d691f35c0c980c9b8a5495109cafa87a2d130738dc1fa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11000-11005 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11007-11012 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11015-11021 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11025-11031 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11036-11042 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11048-11054 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11061-11067 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11000\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11000}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1f801ffd8b968611e90bbc26b0a9fded2de24ef66da062ce3ca6804cc809ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11008-11013 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11017-11022 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11027-11032 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11038-11043 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11050-11055 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11063-11068 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11077-11082 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11008\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11008}}}],"partialFingerprints":{"codehealthFindingId/v1":"600bafe5512e4eb32924d31718f96188f87867836345bbca2348c4e3bcd4ef6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4518-4523 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4527-4532 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4537-4542 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4649-4654 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4658-4663 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4668-4673 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4518\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4518}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d4bd7f4052f5ff400abd22a03597be58bbd7f5a7d947d367e461e8d9832202"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4835-4840 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4844-4849 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4854-4859 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4865-4870 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4877-4882 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4890-4895 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4835\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4835}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0593d1667cfd1df2411fbd3aad1ba43101adacd12df8f5208c7ccd29221708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5796-5801 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5806-5811 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5817-5822 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5937-5942 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5947-5952 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5958-5963 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5796\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5796}}}],"partialFingerprints":{"codehealthFindingId/v1":"5830d41536f675b8bc1e60bacbedc8e6ccdcd0a0d1df817d748178f6da0fe51e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6136-6141 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6146-6151 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6157-6162 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6169-6174 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6182-6187 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6196-6201 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6136\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d24c7cc8f03b8c1495cd4f1f61f3cc07aca3f2ce45888ab8badc2086c15a31c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7160-7165 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7171-7176 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7183-7188 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7311-7316 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7322-7327 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7334-7339 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7160\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7160}}}],"partialFingerprints":{"codehealthFindingId/v1":"f763b0a5dca1fb8700c7d1bae433bcebf9ed5759962f12e4d239f712531e9c0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7523-7528 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7534-7539 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7546-7551 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7559-7564 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7573-7578 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7588-7593 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7523\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7523}}}],"partialFingerprints":{"codehealthFindingId/v1":"896c2d5babc1109916a8c36906c505bb027d0d3dd982ee3edc459d46aee2243f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8625-8630 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8637-8642 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8650-8655 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8786-8791 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8798-8803 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8811-8816 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8625\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8625}}}],"partialFingerprints":{"codehealthFindingId/v1":"acef7b04218fe23ff3274bec40cde8bc04d1ad94e42fcd07b56e2f31ad29b128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9012-9017 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9024-9029 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9037-9042 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9051-9056 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9066-9071 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9082-9087 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9012\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9012}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec5b776a6186736bc09eb250d40dc82d843c9fe297fa89f28019daea86c5eac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10653-10658 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10660-10665 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10668-10674 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10678-10684 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10689-10695 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10701-10707 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10653\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10653}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ab30af32e5a48dabe47eda5c84de2b6d241e437d112c090dd233f2fe8d005f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10661-10666 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10670-10675 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10680-10685 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10691-10696 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10703-10708 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10716-10721 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10661\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10661}}}],"partialFingerprints":{"codehealthFindingId/v1":"526060e1e852df51c2eaec2514bab998fcdd82b7eb1d9562822a04fcf7e4a357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3028-3033 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3193-3198 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3393-3398 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3631-3636 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12423-12428 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3028\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3028}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a84cfec6b0e73a96e4c9d957e848f71f8f9c6f746c2676f6bc7213fcf0c9190"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3636-3641 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3645-3650 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3655-3660 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3666-3671 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3678-3683 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3636\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3636}}}],"partialFingerprints":{"codehealthFindingId/v1":"0375c46cef85b515459ff092503bcbf5d30a0858ae37cf79af6073ece859834b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3922-3925 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4179-4184 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4360-4365 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4579-4584 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4839-4844 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9807-9812 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3922\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. 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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3922}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9b174a0476e7eb4c61a547bf7a2b4faeb97e96cb4933039f136e696e61b40f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4575-4580 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4584-4589 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4594-4599 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4605-4610 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4617-4622 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4575\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4575}}}],"partialFingerprints":{"codehealthFindingId/v1":"098f47f023380774c2e675cae2b9c37708e39c851e729bc335549ce5e952c7e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5857-5862 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5867-5872 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5878-5883 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5890-5895 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5903-5908 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5857\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5857}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3530839af06444ef06a7f7d6c23602f35af1cccd28b49263891d9a44426a605"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7225-7230 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7236-7241 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7248-7253 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7261-7266 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7275-7280 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7225\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7225}}}],"partialFingerprints":{"codehealthFindingId/v1":"2996b3e2c1887ca735bdf329ba3ad40092d0c2940385a50880c338232d992924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7583-7588 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8743-8748 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9482-9487 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9882-9887 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12507-12512 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7583\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7583}}}],"partialFingerprints":{"codehealthFindingId/v1":"c863bb554dfbdc6645893a0daaa977215839a8639c3f7816b66985cf544fa101"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8694-8699 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8706-8711 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8719-8724 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8733-8738 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8748-8753 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8694\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8694}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d35c9e23f9b4d402efde949ddc146e34e76ab5f28becd3d1c934e7e775ab1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10357-10362 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10364-10369 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10372-10378 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10382-10388 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10393-10399 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10357\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10357}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bed4a54d2186828a7a98e125c381749c92d39ea9a2a002efc2a05b33269d56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10365-10370 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10374-10379 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10384-10389 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10395-10400 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10407-10412 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10365\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10365}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97061265dab026c718f9c031e3c9f39e8d2b7cdfcfebb5f7bdfa034bc15215d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2537-2542 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2544-2549 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2552-2558 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2562-2568 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2537\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2537}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0cb1495cc31946c9ca42144ca77ff72c6246aade09a1918d22edbda3f08a7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2545-2550 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2554-2559 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2564-2569 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2575-2580 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2545\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2545}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6f8db5d6758e44a5d541c8c74e849bb77e4cd4408d1d03ef9804f86cadff4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3398-3403 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3407-3412 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3417-3422 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3428-3433 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3398\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3398}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d9c2b62623c3681019dac8448e81441432300423353f75f7f7b83673d98bc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4311-4316 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4320-4325 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4417-4422 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4426-4431 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4311\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4311}}}],"partialFingerprints":{"codehealthFindingId/v1":"b075f552913895aafb47b31a4dc67f5cb8764c7883a44a13c7eca73c285e0d8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4356-4361 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4365-4370 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4375-4380 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4386-4391 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4356\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8afc9c017f9316f6ac73b63e01c6fb19d38011de22d9771db3794947a0194c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 5): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5159-5162 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5433-5438 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5627-5632 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5862-5867 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6141-6146 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5159\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. 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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5159}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dbf6c9967a173f0b6cdbdf88b5f27746f300ccdd9f504f0b254144b159ccd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5574-5579 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5584-5589 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5688-5693 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5698-5703 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5574\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5574}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d807ad391f2c7fe46ecfe35c29a041061d034fd6a5a9e725287190d85f2719"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5622-5627 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5632-5637 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5643-5648 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5655-5660 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5622\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5622}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6573b3017af3ce73407c17205e65efec6177767eca25d3949245a6343f6374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6482-6485 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6607-6610 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6773-6778 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6980-6985 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7231-7236 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7529-7534 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6482\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. 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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6482}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade16d809f53c7911479dd9a44aecddf29661e847ff09e2c419c46a98b3a984d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6923-6928 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6934-6939 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7045-7050 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7056-7061 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6923\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6923}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4c49f18fac8e7464cd2b819390cfffd365b83708cb2c9fed0eeb934c31f86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6974-6979 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6985-6990 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6997-7002 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7010-7015 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6974\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6974}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3108631d8f7dff942e3c0cc1a957e1034d3a42347e2b00a8f3a7dbe7bc58d55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7902-7905 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8035-8038 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8212-8217 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8433-8438 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8701-8706 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9019-9024 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7902\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. 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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7902}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e30e0f36a0f007eac65443de6c9b6247ed10fc9f4468351c3533aec95b3ac6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8372-8377 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8384-8389 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8502-8507 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8514-8519 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8372\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8372}}}],"partialFingerprints":{"codehealthFindingId/v1":"64570a31ad15d631cba4e8df864540a61d00d7f1ce8e8b6ab67d7dd108d52396"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8426-8431 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8438-8443 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8451-8456 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8465-8470 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8426\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8426}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea35a1f2f6c8e4888e37cdb11b65bf625fb1d5d475a5dd34dc7a3156572335a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1549-1554 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1556-1561 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1564-1570 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1549\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31c79c61f6fae4f0a2fa93dd638934fc177dabc1b3c080cb577097dc2ff0c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2321-2326 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2328-2333 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2336-2342 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2321\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2321}}}],"partialFingerprints":{"codehealthFindingId/v1":"550d60dc8769292fc754e1a613ffd0542f0ab8fa217e5df4cf7098ada0b0fbad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2329-2334 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2338-2343 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2348-2353 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2329\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04fad30762c178277c258dd74d73735f353221db5db99d52e5bee31faf973cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3198-3203 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3207-3212 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3217-3222 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3198\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6a2ba2e7a29a29bf359d6792a231ceb893bff547c7e5c28491bf4a459977b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3673-3678 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4612-4617 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10402-10407 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3673\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3673}}}],"partialFingerprints":{"codehealthFindingId/v1":"358de28d7aa153e2a410b10875fa6910afc1dc5a6edd1f153bb09d62ec7abd95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4175-4180 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4184-4189 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4194-4199 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4175\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14022658562d7c465bf164f954b48ff0daaa0e38072a8efcc27ff89ccefe82d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4885-4890 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5898-5903 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10711-10716 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4885\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4885}}}],"partialFingerprints":{"codehealthFindingId/v1":"74406d964ef61fa8045487a8846cd33af707eeefec00d64ec5a23850d09d047f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5428-5433 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5438-5443 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5449-5454 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5428\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5428}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7e372b13c382b23b0555c6e6e8114d31a7f9c2586c107f8abcd4464fb92a6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6191-6196 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7270-7275 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11072-11077 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6191\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6191}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed394f237ecaa0dbe455f555b491679598bcfc751ca76dfe4173dda5085d2b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6767-6772 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6778-6783 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6790-6795 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6767\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6767}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8981e019d132aad69cd6acd052e0e7e70a42097b5806ef3f68f0b64f76da0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8205-8210 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8217-8222 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8230-8235 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8205\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8205}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f4c413f8e6b38e875da987e26c7c06a18c52cced0b5c5333a5b1ff9775525b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala:19-24 | botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala:66-71 \u2014 both copies are in the same file, so extract the block 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala:26\u0060 calls \u0060ConfigFailure\u0060 and \u0060botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala:72\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_eventbus/src/main/scala/com/twitter/botmaker/runtime/KafkaSerdes.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfea7189d05a3995b3c6c6affdd78048069794b769d6ed417572d6e8ecfbc3f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:699-704 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:706-711 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:699\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"3759896a1eb890c755182b81f05d3f6990e4cae2feb8d93b96af57451b7d9d00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:711-716 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1374-1379 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:711\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":711}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e63e5046d3d971c77478d43d06bca6edaa8e5cf24daebdba64d0d3415c8368d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1362-1367 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1369-1374 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1362\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c7a606fd1e90c204715a6a14bc8480e47714416ca440116196456a925e8fd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1571-1576 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2343-2348 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1571\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"db847483d8ac9d65aabc81db2b6eaf06747242b13b4cfb85c8c7b0f645bf8012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2140-2145 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2147-2152 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2140\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a14a1e7cdfc81253ba4baf37e4db4d414747b6dc0bfe758df2463110e607bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2148-2153 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2157-2162 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2148\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40d03d55bdd9353aefb03998c41df22c08dbd83cf44c4a69193475c133485ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2570-2575 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3423-3428 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2570\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2570}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc87ba2f941ba1dce693b004a001727b88bdbc2ccbba1897aaeb9e1557467d62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3033-3038 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3042-3047 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3033\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3033}}}],"partialFingerprints":{"codehealthFindingId/v1":"206c32a9ec3222f387164d3106d40cacba61db154fa94b78d2ca249deba2f1a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4029-4034 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4038-4043 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4029\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4029}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3f45e940a5a866d0d3b92ff203f27298cad7878595f185d1293eff3055a371"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5272-5277 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5282-5287 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5272\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5272}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f759bc568fd245fe45b31e9bb06e1850e3b81b79d13ca815023830fe7c74a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6601-6606 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6612-6617 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6601\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6601}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f98548d745323ff563dcc65692bba331d86d4974e786186487b012e66b6390"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8028-8033 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8040-8045 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8028\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8028}}}],"partialFingerprints":{"codehealthFindingId/v1":"adeeae61096f14abbef6359520bedf23c484d3e5254f1e8eff7d2893e36985ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10093-10098 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10183-10188 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10093\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10093}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d9f819f0406b049f68eb20d13383d3c21bdb562925bbfc9a7176233ba85272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10138-10143 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10154-10159 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10138\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10138}}}],"partialFingerprints":{"codehealthFindingId/v1":"734022d373b2bd883cb029a3ac8a36d539f25fd4202c6159f5f980004a8782c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11801-11806 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11879-11884 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11801\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11801}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b13aba004e8047dc508fd643a8afd57bd7489d271342fdf5eb9fff29ea363d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11840-11845 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11853-11858 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11840\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11840}}}],"partialFingerprints":{"codehealthFindingId/v1":"398257055dc33617c1194dbc6d7fed4a2ad8e3007cfbc24ca22712236f101b7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11986-11991 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12072-12077 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11986\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11986}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4ffd59314c042ed9d0004190ff4d2c17e36e034cc3f5935da19029949cb963"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12029-12034 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12044-12049 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12029\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":12029}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e2941abe885a32e811f7eeefd3cac178838547ad127fc15384ceae03591e29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:26-31 | simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:99-104 \u2014 both copies are in the same file, so extract the block 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 \u0060simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:26\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:105\u0060 calls \u0060similarityFnForSil\u0060, \u0060put\u0060 and \u0060simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala:33\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/common/clustering/LouvainClusteringMethod.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af2a8e52450892a12ffd68576cbc4aba13994454e9a4ef25147750fe3750540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): under-the-hood/scalding/UthDailyPostsBackfillJob.scala:311-316 | under-the-hood/scalding/UthDailyPostsJob.scala:400-405 \u2014 before extracting anything, compare \u0060under-the-hood/scalding/UthDailyPostsBackfillJob.scala\u0060 and \u0060under-the-hood/scalding/UthDailyPostsJob.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 69 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 \u0060under-the-hood/scalding/UthDailyPostsBackfillJob.scala:311\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/scalding/UthDailyPostsBackfillJob.scala"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"decdfa1e9d1c32d40d67573606bcf81a85a5df8a2fe7a928e58ca61a23f90d89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 30): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11293-11297 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11301-11305 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11310-11314 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11320-11324 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11331-11335 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11343-11347 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11356-11360 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11370-11374 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11385-11389 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11401-11405 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11445-11449 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11454-11458 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11464-11468 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11475-11479 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11487-11491 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11500-11504 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11514-11518 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11529-11533 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11545-11549 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11562-11566 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11603-11607 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11611-11615 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11620-11624 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11630-11634 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11641-11645 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11653-11657 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11666-11670 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11680-11684 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11695-11699 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11711-11715 \u2014 all 30 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11293\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78909f7c75b123f86daef63d3e993d60140bfc81b00d090b1d8d41ebd53bb79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 24): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9285-9289 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9293-9297 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9302-9306 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9312-9316 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9323-9327 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9335-9339 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9348-9352 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9362-9366 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9404-9408 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9413-9417 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9423-9427 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9434-9438 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9446-9450 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9459-9463 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9473-9477 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9488-9492 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9527-9531 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9535-9539 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9544-9548 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9554-9558 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9565-9569 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9577-9581 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9590-9594 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9604-9608 \u2014 all 24 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9285\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9285}}}],"partialFingerprints":{"codehealthFindingId/v1":"478887d45f55bf46f1d76b7181543f6eccdf00dae582ec9d9158639442fa3177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 24): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9698-9702 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9706-9710 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9715-9719 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9725-9729 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9736-9740 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9748-9752 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9761-9765 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9775-9779 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9804-9808 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9813-9817 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9823-9827 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9834-9838 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9846-9850 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9859-9863 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9873-9877 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9888-9892 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9916-9920 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9924-9928 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9933-9937 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9943-9947 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9954-9958 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9966-9970 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9979-9983 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9993-9997 \u2014 all 24 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9698\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9803\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9697\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9698}}}],"partialFingerprints":{"codehealthFindingId/v1":"eecc00ecc12a70f7eedd159e4b26eaf1ee814be44cb9042f00efe53efef99861"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 24): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12316-12320 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12324-12328 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12333-12337 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12343-12347 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12354-12358 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12366-12370 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12379-12383 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12393-12397 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12429-12433 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12438-12442 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12448-12452 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12459-12463 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12471-12475 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12484-12488 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12498-12502 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12513-12517 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12547-12551 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12555-12559 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12564-12568 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12574-12578 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12585-12589 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12597-12601 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12610-12614 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12624-12628 \u2014 all 24 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12316\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":12316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc1217b98e15266281d3f745c03ef9ae34b48ee8cde3d18d8cea73646219a29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 21): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10905-10909 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10913-10917 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10922-10926 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10932-10936 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10943-10947 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10955-10959 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10968-10972 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11009-11013 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11018-11022 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11028-11032 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11039-11043 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11051-11055 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11064-11068 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11078-11082 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11116-11120 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11124-11128 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11133-11137 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11143-11147 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11154-11158 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11166-11170 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11179-11183 \u2014 all 21 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10905\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10905}}}],"partialFingerprints":{"codehealthFindingId/v1":"be47484f320be80813ea01e28d3ff1cdc750c0185890f091493ad8c216348cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 20): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11286-11290 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11292-11296 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11299-11304 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11308-11313 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11318-11323 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11329-11334 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11341-11346 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11354-11359 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11368-11373 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11383-11388 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11596-11600 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11602-11606 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11609-11614 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11618-11623 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11628-11633 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11639-11644 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11651-11656 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11664-11669 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11678-11683 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11693-11698 \u2014 all 20 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11286\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11286}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c69384ae6a828a80333ea494a8e0a46eef71951992ae3164748f5dd95dd6992"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 18): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4759-4763 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4767-4771 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4776-4780 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4786-4790 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4797-4801 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4809-4813 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4836-4840 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4845-4849 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4855-4859 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4866-4870 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4878-4882 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4891-4895 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4917-4921 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4925-4929 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4934-4938 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4944-4948 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4955-4959 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4967-4971 \u2014 all 18 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4759\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4835\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4758\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4759}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cee5bb8b0d21b28a044171d1c955981f8b2531d65b3c2bebd2a7a399c9773e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 18): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6054-6058 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6063-6067 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6073-6077 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6084-6088 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6096-6100 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6109-6113 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6137-6141 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6147-6151 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6158-6162 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6170-6174 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6183-6187 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6197-6201 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6224-6228 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6233-6237 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6243-6247 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6254-6258 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6266-6270 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6279-6283 \u2014 all 18 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6054\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6136\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6053\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6054}}}],"partialFingerprints":{"codehealthFindingId/v1":"34cb7cdbe79146696a8ff57122c7ec80791622b947258201e0cbcccc7109f16e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 18): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7435-7439 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7445-7449 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7456-7460 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7468-7472 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7481-7485 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7495-7499 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7524-7528 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7535-7539 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7547-7551 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7560-7564 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7574-7578 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7589-7593 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7617-7621 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7627-7631 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7638-7642 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7650-7654 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7663-7667 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7677-7681 \u2014 all 18 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7435\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7523\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7434\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7435}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f401bd52b25112c51841a44862852d27dec89c894eb88af18f023208e303cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 18): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8918-8922 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8929-8933 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8941-8945 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8954-8958 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8968-8972 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8983-8987 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9013-9017 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9025-9029 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9038-9042 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9052-9056 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9067-9071 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9083-9087 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9112-9116 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9123-9127 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9135-9139 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9148-9152 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9162-9166 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9177-9181 \u2014 all 18 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8918\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9012\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8917\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8918}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3fe2044249bd74efd45b982a03bc5c3474b53d15e4a36ac079e5f57c161638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 18): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10572-10576 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10580-10584 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10589-10593 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10599-10603 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10610-10614 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10622-10626 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10662-10666 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10671-10675 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10681-10685 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10692-10696 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10704-10708 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10717-10721 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10754-10758 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10762-10766 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10771-10775 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10781-10785 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10792-10796 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10804-10808 \u2014 all 18 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10572\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10572}}}],"partialFingerprints":{"codehealthFindingId/v1":"8040d2aa2ac6aa81d5c32f404f32d917e171e3e4ce4c46d499f0c713732716ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 16): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9278-9282 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9284-9288 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9291-9296 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9300-9305 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9310-9315 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9321-9326 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9333-9338 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9346-9351 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9520-9524 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9526-9530 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9533-9538 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9542-9547 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9552-9557 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9563-9568 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9575-9580 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9588-9593 \u2014 all 16 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9278\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":9278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6cf784fab04dff24df795e7d1ece25b2ac492a2a123ba01651f5e41e1bc3d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 15): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3566-3570 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3574-3578 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3583-3587 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3593-3597 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3604-3608 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3637-3641 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3646-3650 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3656-3660 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3667-3671 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3679-3683 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3710-3714 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3718-3722 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3727-3731 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3737-3741 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3748-3752 \u2014 all 15 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3566\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3566}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c7f68cbd12382026ab1bde0b79ac97ce65c378eb0ee55fb94212bb338f9a88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 15): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4512-4516 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4520-4524 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4529-4533 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4539-4543 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4550-4554 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4576-4580 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4585-4589 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4595-4599 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4606-4610 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4618-4622 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4643-4647 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4651-4655 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4660-4664 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4670-4674 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4681-4685 \u2014 all 15 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4512\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4575\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4511\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4512}}}],"partialFingerprints":{"codehealthFindingId/v1":"a212d56d8dad8f812a50f7aecab6535adf6e198bf24652c0654f51357236cd47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 15): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5789-5793 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5798-5802 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5808-5812 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5819-5823 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5831-5835 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5858-5862 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5868-5872 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5879-5883 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5891-5895 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5904-5908 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5930-5934 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5939-5943 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5949-5953 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5960-5964 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5972-5976 \u2014 all 15 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5789\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5857\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5788\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5789}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c708e1d747e2b796ffee5a233e509c019e21cfc08ccfc2540b2e41718f66e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 15): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7152-7156 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7162-7166 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7173-7177 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7185-7189 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7198-7202 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7226-7230 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7237-7241 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7249-7253 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7262-7266 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7276-7280 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7303-7307 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7313-7317 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7324-7328 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7336-7340 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7349-7353 \u2014 all 15 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7152\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7225\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7151\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7152}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a67932c2dba7a158b14bf282ad1164093e31eb9a3c419c014b55d5e469109e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 15): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8616-8620 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8627-8631 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8639-8643 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8652-8656 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8666-8670 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8695-8699 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8707-8711 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8720-8724 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8734-8738 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8749-8753 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8777-8781 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8788-8792 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8800-8804 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8813-8817 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8827-8831 \u2014 all 15 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8616\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8694\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8615\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8616}}}],"partialFingerprints":{"codehealthFindingId/v1":"7927e9f9e3e69352a16db936961a0cef30c8e397c2da3a631e411f670da82469"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 15): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10289-10293 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10297-10301 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10306-10310 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10316-10320 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10327-10331 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10366-10370 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10375-10379 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10385-10389 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10396-10400 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10408-10412 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10444-10448 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10452-10456 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10461-10465 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10471-10475 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10482-10486 \u2014 all 15 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10289\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10289}}}],"partialFingerprints":{"codehealthFindingId/v1":"054a88024cc84279cdc82f69ef34071f3bef8a1e12a86e8aa3310e29d6cd9671"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 14): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10898-10902 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10904-10908 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10911-10916 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10920-10925 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10930-10935 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10941-10946 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10953-10958 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11109-11113 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11115-11119 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11122-11127 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11131-11136 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11141-11146 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11152-11157 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11164-11169 \u2014 all 14 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10898\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10898}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb62a616a727c7ebcbd067362743c076f9d458aaac341b797d6664885f39aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2481-2485 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2489-2493 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2498-2502 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2508-2512 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2546-2550 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2555-2559 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2565-2569 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2576-2580 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2611-2615 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2619-2623 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2628-2632 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2638-2642 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2481\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"312799e95ca3bfdeab97f73a68d88c947e4da9c96d91feeca69fa1a52a076a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3340-3344 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3348-3352 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3357-3361 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3367-3371 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3399-3403 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3408-3412 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3418-3422 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3429-3433 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3459-3463 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3467-3471 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3476-3480 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3486-3490 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3340\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3340}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef994b120477f2690d0910d9d20b86fd8ad092fae22b843a3061a80a4cf57b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4305-4309 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4313-4317 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4322-4326 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4332-4336 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4357-4361 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4366-4370 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4376-4380 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4387-4391 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4411-4415 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4419-4423 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4428-4432 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4438-4442 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4305\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4356\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4304\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4305}}}],"partialFingerprints":{"codehealthFindingId/v1":"014c3f62cc322a2ac2fd73eaf4d71fdc9bfc9a822cac555fe21d5b20917a0a1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5567-5571 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5576-5580 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5586-5590 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5597-5601 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5623-5627 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5633-5637 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5644-5648 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5656-5660 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5681-5685 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5690-5694 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5700-5704 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5711-5715 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5567\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5622\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5566\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5567}}}],"partialFingerprints":{"codehealthFindingId/v1":"140c4ee97da888acbb390690bcf839706c39a9fd59258d6ca58c9db4c55b486a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6915-6919 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6925-6929 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6936-6940 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6948-6952 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6975-6979 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6986-6990 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6998-7002 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7011-7015 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7037-7041 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7047-7051 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7058-7062 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7070-7074 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6915\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6974\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6914\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6915}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae3960f689ec0c1c43266577d9164c2ea7f0aa33c4ebf05a5fc2021d6c4c274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8363-8367 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8374-8378 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8386-8390 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8399-8403 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8427-8431 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8439-8443 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8452-8456 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8466-8470 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8493-8497 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8504-8508 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8516-8520 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8529-8533 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8363\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8426\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8362\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8363}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6eeb006e1e59fc1f78af33ddeac5d3223ec2ab9cac678c3bdb699748367e754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 12): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10565-10569 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10571-10575 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10578-10583 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10587-10592 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10597-10602 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10608-10613 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10747-10751 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10753-10757 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10760-10765 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10769-10774 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10779-10784 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10790-10795 \u2014 all 12 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10565\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10565}}}],"partialFingerprints":{"codehealthFindingId/v1":"41fdf49dac0ffb6bafbb693905fd55c32363a373211347095f546813bb55bd3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2991-2995 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3066-3070 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3146-3150 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3242-3246 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3335-3339 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3454-3458 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3561-3565 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3705-3709 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12311-12315 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12542-12546 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2991\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2991}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be4cb5a7f614a2889ccfb94d96b24ea05ba09e0d41c25bfbb5e4ad5ba939e6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4138-4142 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4221-4225 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4308-4312 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4414-4418 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4515-4519 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4646-4650 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4762-4766 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4920-4924 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9701-9705 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9919-9923 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4138\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4138}}}],"partialFingerprints":{"codehealthFindingId/v1":"00aa7913eac764e94c37aa3c3f7520ee41c33eddfec46dd0c995c91ff58d87c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 10): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10282-10286 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10288-10292 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10295-10300 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10304-10309 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10314-10319 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10437-10441 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10443-10447 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10450-10455 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10459-10464 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10469-10474 \u2014 all 10 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10282\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10282}}}],"partialFingerprints":{"codehealthFindingId/v1":"048e0ecd0cce26dc8a986033ab043660214c642c5342be87721929c6c5c9a4a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1502-1506 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1510-1514 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1519-1523 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1558-1562 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1567-1571 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1577-1581 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1613-1617 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1621-1625 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1630-1634 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1502\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"525118e52fb80a35a3f89969c2204c8d20562a7ba688bff956c6c3c13feac47a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2276-2280 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2284-2288 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2293-2297 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2330-2334 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2339-2343 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2349-2353 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2383-2387 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2391-2395 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2400-2404 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2276\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff1ae03a4c506c664a30142c204ec91942c167140f1912c4e886db27d4d459a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3151-3155 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3159-3163 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3168-3172 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3199-3203 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3208-3212 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3218-3222 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3247-3251 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3255-3259 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3264-3268 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3151\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cebb11b2629a7b6770fa88878a8d43cdddbb3faae5b349e9b891b0bfd0333a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4135-4139 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4143-4147 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4152-4156 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4176-4180 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4185-4189 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4195-4199 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4218-4222 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4226-4230 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4235-4239 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4135\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4175\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4134\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4135}}}],"partialFingerprints":{"codehealthFindingId/v1":"88020ed9dc75575e448533b995745dd5165d90fb8c183ba5886744e59e3c821a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5385-5389 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5394-5398 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5404-5408 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5429-5433 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5439-5443 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5450-5454 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5474-5478 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5483-5487 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5493-5497 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5385\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5428\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5384\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5385}}}],"partialFingerprints":{"codehealthFindingId/v1":"0508eb3cd17180016e2bd62098a3ab21dd099963adcf91ab256700faed82c6cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6721-6725 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6731-6735 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6742-6746 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6768-6772 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6779-6783 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6791-6795 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6816-6820 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6826-6830 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6837-6841 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6721\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6767\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6720\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6721}}}],"partialFingerprints":{"codehealthFindingId/v1":"795e633174bcc33722df97441a53463e412e2b4a24177c868f34fab98745ff12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 9): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8156-8160 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8167-8171 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8179-8183 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8206-8210 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8218-8222 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8231-8235 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8257-8261 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8268-8272 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8280-8284 \u2014 all 9 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8156\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8205\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8155\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16d44bbe874b629067e6c4fe293d0136ff4a5ce2c08a8837ea881f8efe7c5cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2474-2478 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2480-2484 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2487-2492 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2496-2501 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2604-2608 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2610-2614 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2617-2622 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2626-2631 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2474\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2474}}}],"partialFingerprints":{"codehealthFindingId/v1":"2582b492a56f2ddf8b8e6f3f75ab14772903ea439d2d15270325aeb8a072ceea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3154-3158 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3250-3254 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3343-3347 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3462-3466 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3569-3573 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3713-3717 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12319-12323 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12550-12554 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3154\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4cf616d89690de8591b9f9ba1d40665be0080a1f2b5adb53f5971ee7385bfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4317-4321 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4423-4427 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4524-4528 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4655-4659 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4771-4775 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4929-4933 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9710-9714 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9928-9932 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4317\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8f3738c2191a022d89c6e7925fe84c4b814db9b244a792338243b8c644f39e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5389-5393 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5478-5482 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5571-5575 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5685-5689 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5793-5797 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5934-5938 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6058-6062 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6228-6232 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5389\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5389}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7501252fb2709579db7d1ab67f41798e80e97cdd54f8d718161d9bd3320b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6726-6730 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6821-6825 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6920-6924 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7042-7046 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7157-7161 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7308-7312 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7440-7444 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7622-7626 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6726\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6726}}}],"partialFingerprints":{"codehealthFindingId/v1":"91315250b204572239fbc5cf11c51c819bba82994fe8008c5ab7c506bb0bf8b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8162-8166 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8263-8267 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8369-8373 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8499-8503 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8622-8626 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8783-8787 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8924-8928 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9118-9122 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8162\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4329855661de20791ef27d687b38259dd975979b171e9fec7d4eab498f7b1a50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 8): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12421-12425 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12428-12432 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12437-12441 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12447-12451 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12458-12462 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12470-12474 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12483-12487 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12497-12501 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12421\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":12421}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2c8cedc58cfdd697509725c4a97631c1fe3baef06b51c883136db867e21cdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1325-1329 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1333-1337 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1371-1375 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1380-1384 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1415-1419 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1423-1427 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1325\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c298ccb4f00d69be3b4b03f339f1169cfae83f4ba928d44c547519da2298b75c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1495-1499 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1501-1505 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1508-1513 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1606-1610 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1612-1616 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1619-1624 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1495\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"506a2b0d32fd826a81d16200af539fbae5af68d5dc6fd12675d4bf1b97c13f6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2105-2109 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2113-2117 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2149-2153 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2158-2162 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2191-2195 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2199-2203 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2105\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1dc7f80c66a5d8b9f07e0ed2b864841cf39e90bf1d526b0df9c4426b82beb76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2269-2273 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2275-2279 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2282-2287 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2376-2380 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2382-2386 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2389-2394 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2269\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2269}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baecba2399d35976cc157a608ac3116acbef37a895138aaad474d9e0560ff83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2996-3000 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3004-3008 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3034-3038 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3043-3047 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3071-3075 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3079-3083 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2996\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2996}}}],"partialFingerprints":{"codehealthFindingId/v1":"13406e5e8445d5b33f9a7f15689da559ddcef87a639d103840afffb73d5cb9b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3999-4003 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4007-4011 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4030-4034 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4039-4043 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4061-4065 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4069-4073 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3999\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4029\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3998\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3999}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eac466021f68c3a3ff3a4417a9a1498993f125e72ff3a9afe949cb14296cba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5240-5244 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5249-5253 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5273-5277 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5283-5287 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5306-5310 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5315-5319 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5240\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5272\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5239\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5240}}}],"partialFingerprints":{"codehealthFindingId/v1":"d303e3b3fb0df8516126381355d62aac4dcdffaea9caaa5394334aa27b884bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5581-5585 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5695-5699 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5803-5807 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5944-5948 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6068-6072 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6238-6242 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5581\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5581}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4dc067a20f0e13e1e33633f540e96406c50e1ca45dde77c67e3a92fdbe7745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6567-6571 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6577-6581 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6602-6606 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6613-6617 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6637-6641 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6647-6651 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6567\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6601\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6566\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6567}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a391571801f0bca2bad3254620994bf6cfa300090da60eae2782b616297714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6931-6935 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7053-7057 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7168-7172 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7319-7323 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7451-7455 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7633-7637 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6931\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6931}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22f2d74bb06d638ac6cb61a11de958eead0dea432c4b3df667e9961854475c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7992-7996 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8003-8007 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8029-8033 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8041-8045 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8066-8070 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8077-8081 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7992\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8028\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7991\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7992}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc190dae533cd40e8e3d5768db4ad7ad8e5bf93aa3cabc938596c2ee90b0bcff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8381-8385 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8511-8515 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8634-8638 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8795-8799 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8936-8940 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:9130-9134 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8381\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":8381}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf777ce349391855dc6e6da9ab6d0655bbd6afc09c3e3a1f0327e9726fdd732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10094-10098 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10109-10113 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10139-10143 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10155-10159 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10184-10188 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10199-10203 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10094\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10138\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10093\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10094}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cad2ca0163eba5cc0cf09b678f5c7ce8ddf10b16a2deaaa0de2da63b77c099b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11802-11806 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11814-11818 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11841-11845 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11854-11858 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11880-11884 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11892-11896 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11802\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11840\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11801\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11802}}}],"partialFingerprints":{"codehealthFindingId/v1":"82be5eb4441d2a9fd6efb3c67d561b76b4cad066f1df761d57d1feb0e8249771"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11987-11991 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12001-12005 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12030-12034 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12045-12049 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12073-12077 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12087-12091 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11987\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12029\u0060 calls \u0060Future\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11986\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11987}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e72ea06ff51c8ab1f359d6d02ad57cebf087820fb0e341e40b21c795d4ba95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3629-3633 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3636-3640 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3645-3649 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3655-3659 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3666-3670 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3629\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3629}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99fc87a695bf702998571a7e3b6c9785578e6490294b86d225db7a1560d5fe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:651-655 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:657-661 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:747-751 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:753-757 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:651\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae155ec9c0cc865a687ab365ea0aa3a734cb552e82d396eed43efbe33f78468"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1550-1554 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1557-1561 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1566-1570 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1576-1580 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1550\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"0169bc651c3bb2e98adcfe4d5be68c24a095184c6f0a82ab21a7cb5a69150103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3391-3395 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3398-3402 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3407-3411 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3417-3421 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3391\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3391}}}],"partialFingerprints":{"codehealthFindingId/v1":"da52a99301d623aeb299dd30ac3e82f264e94567593ee7b5b6308373d2317878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala:47-52 | simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala:66-71 | simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala:85-90 | simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala:109-114 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala:47\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":"simclusters/simclusters_v2/scalding/TopUsersSimilarityGraph.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7f387d1833cb296a75827f847562c774523e62962fa831804d97241700d878"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:700-704 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:707-711 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:716-720 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:700\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f943bcd87c3a1e2712d74d71c71e24b7fe692d1c0141b69ec8ef5fe58acd3c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1179-1183 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1216-1220 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1250-1254 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1179\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3709fbe00aa1a2ec3117e99d3e3341a048a5f14f3456005c43a2d20e915526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1363-1367 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1370-1374 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1379-1383 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1363\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb5059e1142df2546c1d553f5de8b0e2c27b9b80c8adadb8642b74bb59278be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1965-1969 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2000-2004 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2032-2036 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1965\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1965}}}],"partialFingerprints":{"codehealthFindingId/v1":"15922afb6db8ab4a61acc1acf0f552692188e6724f8e7272e56c014707d4b9ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2872-2876 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2901-2905 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2928-2932 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2872\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2872}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8286647d532ec5fb28412d5bc8d6c4ddebd616134e647d64e42b57d31cf6a8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3191-3195 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3198-3202 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3207-3211 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3191\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3191}}}],"partialFingerprints":{"codehealthFindingId/v1":"10adbcd5ef5d7223bf45279247e4da7dc2e5304ed8bc567d7d9ae56eb30ea969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3686-3690 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4625-4629 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5664-5667 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10415-10419 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3686\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3686}}}],"partialFingerprints":{"codehealthFindingId/v1":"1afdaf836d762da0525cd832535098ac1148b7c979268860d49076e18eb6db7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4899-4903 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5912-5916 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7020-7023 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10725-10729 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4899\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":4899}}}],"partialFingerprints":{"codehealthFindingId/v1":"63712aa90d7cad4215583abeb6ee06f0e0c6157dd25093fb771450da02b1104b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6206-6210 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7285-7289 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:8476-8479 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11087-11091 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6206\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6206}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6d4be76cf40c64780e13239bea0a5a2eede9f8d0586a20089149ca1416db02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:537-541 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:544-548 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:537\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1586fa7eead6d7f978b276c818f6f288d186d57e21fb653a4a1b7ff24d851d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:721-725 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1384-1388 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2163-2166 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:721\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0dc801cc37adb2f654cf5c7274a7cd529d46bf33995878162aca0fb793df67b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1208-1212 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1215-1219 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1208\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"0876df9b6d71512d704ba4ab2a850651be2d58fd8729568cd9117361f391ecac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1582-1586 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2354-2358 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3224-3227 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:1582\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c81ff98eea142f90b1e86feb7d82dc8da5991134f659a38f6979f6489bc93b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2582-2586 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3435-3439 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:4394-4397 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2582\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2582}}}],"partialFingerprints":{"codehealthFindingId/v1":"292bbbd9b1533c2ce85e2a60a489b83d3e74c0da2f58afb439252cb8146a69e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2693-2697 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2713-2717 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2732-2736 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2693\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a34468b7b6dba175a7337923c206968bafcb67bce2da566edc08a6a666ba3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2781-2785 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:2816-2820 \u2014 both copies are in the same file, so extract the block 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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":2781}}}],"partialFingerprints":{"codehealthFindingId/v1":"395e3e51482ce50938e80b430fb4522e067747d51464d241ff9800f68102c85a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3806-3810 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3827-3831 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3847-3851 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3806\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3806}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3a570d7144c5af119f36831fe3c66bf236a11c1d5f7b86ccd1b8dfa4af42b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3899-3903 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3919-3923 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3938-3942 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:3899\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":3899}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e5b1a99ef1df45521dc62d6a85363e0d8fca9f76d70b94fcb5e96fdd46d867"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5036-5040 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5058-5062 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5079-5083 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5036\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5036}}}],"partialFingerprints":{"codehealthFindingId/v1":"35befcc6305e0a8b61cbcd9badf4edd0ac4ca94b1131d492fb800e56483ddb65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5134-5138 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5155-5159 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5175-5179 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:5134\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":5134}}}],"partialFingerprints":{"codehealthFindingId/v1":"678e98a259324f5d0ec869ddbc31f2e439ed4b692d414dac0397938e661eabee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6352-6356 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6375-6379 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6397-6401 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6352\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6352}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bd3c6311547456a3bda67a7f05a91a296024252d7418f459c4556d7899ce22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6455-6459 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6477-6481 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6498-6502 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:6455\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":6455}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd963fe18b7009f494ad5cbbf3d8e7caa65e12841f74daf82eac543b4a006bb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7755-7759 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7779-7783 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7802-7806 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7755\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7755}}}],"partialFingerprints":{"codehealthFindingId/v1":"caec0f7ba356011647e22b0857f8b4e907156231485a1fc0e619d4274e04411b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7873-7877 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7896-7900 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7918-7922 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:7873\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":7873}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b7ce3219d1ff4d96c9f2f6ac936782760b092958094b1816ec6a8cf5d6af08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10120-10124 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10164-10167 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10210-10214 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10120\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. 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, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10119\u0060 calls \u0060toScala9\u0060, \u0060get\u0060, \u0060toScala10\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:10164\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":10120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe8c2826944799d8c224e394301d42c6c5d48e80ecf96bf15568e38d4e749f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11413-11417 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11573-11575 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11723-11727 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11413\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. 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, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11413\u0060 calls \u0060Option\u0060, \u0060toScala11\u0060, \u0060get\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11573\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11413}}}],"partialFingerprints":{"codehealthFindingId/v1":"3387a3537143c7d92834fe71d29c00032444d0c12ff8ea9a34ca338de329860a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11822-11826 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11861-11863 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11900-11904 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11822\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. 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, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11822\u0060 calls \u0060toScala7\u0060, \u0060get\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:11861\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":11822}}}],"partialFingerprints":{"codehealthFindingId/v1":"904e76dae983cac2ae20997ec99a25cbff1feb61626e17c505d57d9da45a1228"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12011-12015 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12054-12056 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12097-12101 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12011\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. 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, \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12011\u0060 calls \u0060toScala9\u0060, \u0060get\u0060 and \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12054\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":12011}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeda6e7225ef505001885b61f4286d367a390b3bc5025f12f70ac3426fb92d33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12172-12176 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12196-12200 | botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12219-12223 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala:12172\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":"botmaker/src/scala/com/twitter/botmaker/FunctionUnitGen.scala"},"region":{"startLine":12172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3bb89abf354beb24e6ca2bf4c8b7186c8c53d97c35518eec62cde4cda260da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): simclusters/simclusters_v2/scalding/tweet_similarity/TrainingDataCollectionUtil.scala:61-69 | simclusters/simclusters_v2/scalding/tweet_similarity/TrainingDataCollectionUtil.scala:81-89 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060simclusters/simclusters_v2/scalding/tweet_similarity/TrainingDataCollectionUtil.scala:61\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":"simclusters/simclusters_v2/scalding/tweet_similarity/TrainingDataCollectionUtil.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d55a46c453fc62cb141a7ae60bd153f83a0750b37f16bb0b802b3c87d6d9784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): simclusters/simclusters_v2/scalding/tweet_similarity/TweetPairLabelCollectionUtil.scala:222-228 | simclusters/simclusters_v2/scalding/tweet_similarity/TweetPairLabelCollectionUtil.scala:310-314 \u2014 both copies are in the same file, so extract the block 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 \u0060simclusters/simclusters_v2/scalding/tweet_similarity/TweetPairLabelCollectionUtil.scala:222\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"simclusters/simclusters_v2/scalding/tweet_similarity/TweetPairLabelCollectionUtil.scala"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e24d27f1c0a64ba69e7f5e29962d9b95ede619bc2cdbcb6eb58b55c71f4dcdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/CategoryClassificationEmbeddingsModelDescriptor.scala:41-47 | media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/CategoryClassificationModelDescriptor.scala:38-45 | media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/FingerprintingModelDescriptor.scala:51-58 | media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/FingerprintingV2ModelDescriptor.scala:51-58 | media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/HatefulSymbolRecognitionModelDescriptor.scala:33-40 \u2014 before extracting anything, compare \u0060media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/FingerprintingModelDescriptor.scala\u0060 and \u0060media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/FingerprintingV2ModelDescriptor.scala\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/CategoryClassificationEmbeddingsModelDescriptor.scala:41\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":"media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/CategoryClassificationEmbeddingsModelDescriptor.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b4df9249ef4abe575bf817a65d9c16512cfe89621eeb979c0090c56631ec88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/FingerprintingModelDescriptor.scala:30-35 | media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/FingerprintingV2ModelDescriptor.scala:30-35 \u2014 before extracting anything, compare \u0060media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/FingerprintingModelDescriptor.scala\u0060 and \u0060media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/FingerprintingV2ModelDescriptor.scala\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/FingerprintingModelDescriptor.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee1b51c5a721139a0e500250fd20a44c0fb42c1798c0dfa13dac366443de6ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/FingerprintingModelDescriptor.scala:37-46 | media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/FingerprintingV2ModelDescriptor.scala:37-46 \u2014 before extracting anything, compare \u0060media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/FingerprintingModelDescriptor.scala\u0060 and \u0060media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/FingerprintingV2ModelDescriptor.scala\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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":"media-model-proxy/src/main/scala/com/twitter/media_understanding/model_proxy/model_descriptors/FingerprintingModelDescriptor.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e7b8cd15465303ba043694d9f4b3b108650c81b3a95b9133a18201503cc45c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): simclusters/simclusters_v2/scalding/embedding/producer/AggregatableFavBasedProducerEmbeddings.scala:146-162 | simclusters/simclusters_v2/scalding/embedding/producer/AggregatableFavBasedProducerEmbeddings.scala:203-219 | simclusters/simclusters_v2/scalding/embedding/producer/AggregatableFollowBasedProducerEmbeddings.scala:99-115 | simclusters/simclusters_v2/scalding/embedding/producer/AggregatableLogFavBasedProducerEmbeddings.scala:214-230 | simclusters/simclusters_v2/scalding/embedding/producer/AggregatableLogFavBasedProducerEmbeddings.scala:272-288 \u2014 there are 5 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060simclusters/simclusters_v2/scalding/embedding/producer/AggregatableFavBasedProducerEmbeddings.scala:146\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/embedding/producer/AggregatableFavBasedProducerEmbeddings.scala"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7773f3102917166b1379c038f763f659a0a12ba53659b7795c9030a456b621d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala:74-85 | simclusters/simclusters_v2/scalding/mbcg/UserEmbeddingGenerationJob.scala:58-69 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala\u0060 and \u0060simclusters/simclusters_v2/scalding/mbcg/UserEmbeddingGenerationJob.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0b30fd78b10257e07fc7f7036bbaecdfc32d9f4830dfe93b02fe71d8388169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala:186-192 | simclusters/simclusters_v2/scalding/offline_tweets/ClusterTopMediaTweetsJob.scala:48-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c2f4d5e88f385256d53959a98619c97edcfe1c49b37b59d3c446b44f351aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala:300-305 | simclusters/simclusters_v2/scalding/mbcg/UserEmbeddingGenerationJob.scala:187-192 \u2014 before extracting anything, compare \u0060simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala\u0060 and \u0060simclusters/simclusters_v2/scalding/mbcg/UserEmbeddingGenerationJob.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 34 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":"simclusters/simclusters_v2/scalding/mbcg/TweetEmbeddingGenerationJob.scala"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10ab67d4ff12c77461db0a8455adb36cf394143c59f9d2520d2a749949d71b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): simclusters/simclusters_v2/scalding/offline_data_conversion/ClusterDetails20M145K2020FlattenJob.scala:82-89 | simclusters/simclusters_v2/scalding/offline_data_conversion/InterestedIn20M145K2020FlattenJob.scala:74-81 | simclusters/simclusters_v2/scalding/offline_data_conversion/KnownFor20M145K2020FlattenJob.scala:75-82 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/offline_data_conversion/ClusterDetails20M145K2020FlattenJob.scala"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"987d436f6ad4d3f53377222253a61718f81203cd4c695a56f8f89e74db6c1a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): simclusters/simclusters_v2/summingbird/stores/TweetStatusCountsStore.scala:22-27 | simclusters/simclusters_v2/summingbird/stores/TweetStatusCountsTesStore.scala:39-44 \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":"simclusters/simclusters_v2/summingbird/stores/TweetStatusCountsStore.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6279343ae8c1d159936d25f0d3e2ee6338e730c750b52f5e534d0b39698ee97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): under-the-hood/scalding/UthReferenceMonthMhPublisherJob.scala:50-55 | under-the-hood/scalding/UthUserMonthMhPublisherJob.scala:37-42 \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":"under-the-hood/scalding/UthReferenceMonthMhPublisherJob.scala"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57aee3c611aa15fc1c15e974a05eef88e91b2b3eeca7785637fbf8e67c02c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/Mock.java:24-71 | botmaker/src/java/com/twitter/botmaker/compiler/Mock.java:97-144 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/java/com/twitter/botmaker/compiler/Mock.java:24\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Mock.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57898e77172280eb706bf0bd976fadd7c4ba70f6b132f9ac10cb25ad8c3323b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java:122-158 | botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java:178-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java:122\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":"botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"be875373a69f4270fabcb5fe023d97bfb6f89e80847da41b83340cbe164c3357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 3): botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java:126-158 | botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java:181-214 | botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java:237-269 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java:126\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/CompilerUnit.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c92c4d7e9cd68c9a0b884e18b6c13135a03dd675c0307a96bf786ba9fb00b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java:96-129 | botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java:95-128 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 87 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc91be1ed6ade78cd885adcc7446f113ffddcfa2a88ef77f73d490b18990ebc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java:63-91 | botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java:62-90 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 87 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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060type\u0060 to \u0060ThriftType\u0060 in one and \u0060ThriftStructType\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ef88e02fa05a104a2c4730354b92c09f284d33efea462d79835824bb3e2297"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/BotMakerDoc.java:77-104 | botmaker/src/java/com/twitter/botmaker/compiler/BotMakerDoc.java:128-155 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/java/com/twitter/botmaker/compiler/BotMakerDoc.java:77\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/BotMakerDoc.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3159debc83b9665d85140ece318398d75d3d1f17a8540227813159634d7ea990"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:134-159 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:304-330 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:160\u0060 calls \u0060isSetSelectionDenied\u0060, \u0060put\u0060, \u0060valueOf\u0060 and \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:331\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ad35abe9bade3ab0a87a7711565c522dda92a7ac375708a804235aa008e51b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/DerivedFeatureCall.java:97-119 | botmaker/src/java/com/twitter/botmaker/function/With.java:66-86 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/src/java/com/twitter/botmaker/function/DerivedFeatureCall.java:121\u0060 calls \u0060getName\u0060, \u0060isLogged\u0060, \u0060isEmpty\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/With.java:88\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/DerivedFeatureCall.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef670aed7c192cfd15a701d42c1bf30e2387c56f00fb353e15238d2f56ffb3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/DerivedFeatureCall.java:205-227 | botmaker/src/java/com/twitter/botmaker/function/With.java:116-138 \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 \u0060botmaker/src/java/com/twitter/botmaker/function/DerivedFeatureCall.java:205\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/DerivedFeatureCall.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a603f328ecccfeb129a38cbed94811616d81799aa5ee5b59d1a31173dc29dd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java:152-172 | botmaker/src/java/com/twitter/botmaker/function/collection/Sort.java:98-118 \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 \u0060botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java:152\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"14454167fe72d88ac1cd78fbfbb7ebe152d57e1db2833eda43ac44cae30611d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/conversion/ThriftFromDict.java:63-82 | botmaker/src/java/com/twitter/botmaker/function/conversion/ToThrift.java:58-77 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/conversion/ThriftFromDict.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/conversion/ToThrift.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060botmaker/src/java/com/twitter/botmaker/function/conversion/ThriftFromDict.java:63\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":"botmaker/src/java/com/twitter/botmaker/function/conversion/ThriftFromDict.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba2107c2390f0c3c623714038cc7ad182de559a039c59c6708f2dd3aec86e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201319 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/collection/IndexAccessor.java:88-101 | botmaker/src/java/com/twitter/botmaker/function/collection/IndexAccessor.java:140-158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/java/com/twitter/botmaker/function/collection/IndexAccessor.java:88\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/IndexAccessor.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2049fd343d6e5a68036abefd1902c10bc013777769320ecbd78cc64e135b67e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:947-966 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:996-1015 \u2014 both copies are in the same file, so extract the block 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":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff09862d26dc5b9821d881c17e1198cd74eac8ac8c430a33d365e4a96ac3453a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:887-901 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:967-982 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:887\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060Collection\u0060 in one and \u0060List\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4d9d080cadd7877502d86567540e9e8749722d6d1460491ad508b6198f9d8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:30-45 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:61-76 \u2014 both copies are in the same file, so extract the block 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":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f348a0805a332307b4d750fa74db88781a25d41b0beabc8ad102a5b46fe3ec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java:30-45 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java:62-77 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d29e662e1f946eabf79d874cafde7bab2db57c94fa26b1c161e9d72166b1c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:836-850 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:861-875 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:886-899 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddeb1600b6cb8e46953bb81e9c3cce17898457b1e890be129df54099ffad73a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceUserBannedEvent.java:34-47 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceUserUnbannedEvent.java:34-48 \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 \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceUserBannedEvent.java:34\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceUserBannedEvent.java:48\u0060 calls \u0060isSetPolicy_in_violation\u0060, \u0060putValue\u0060, \u0060getPolicy_in_violation\u0060 and \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceUserUnbannedEvent.java:49\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceUserBannedEvent.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96accb502d70d5081866579d04f9146ff159f7849f92bb230550057c465be79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1493-1507 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1527-1541 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1493\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, \u0060botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1491\u0060 calls \u0060indent\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1525\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d77d35928817476091c0c06ef33198511e079e2ea6b036c70ff944098d62f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/types/StructTupleType.java:138-152 | botmaker/src/java/com/twitter/botmaker/compiler/types/TupleType.java:55-68 \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 \u0060botmaker/src/java/com/twitter/botmaker/compiler/types/StructTupleType.java:138\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":"botmaker/src/java/com/twitter/botmaker/compiler/types/StructTupleType.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"04363bbda79452afb009c5b7e469d6241c3dabef1af0c5a94659eae26c6183c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/conversion/Cast.java:60-74 | botmaker/src/java/com/twitter/botmaker/function/conversion/Cast.java:81-95 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/conversion/Cast.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f1e65b8e2e457a378254d0ef8997f6406f261dce1aae6761b3967e46984c81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 3): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:887-899 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:967-980 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1048-1061 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060Collection\u0060 in one and \u0060List\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"b834afd61f8cf2bb0d7403c74cfd3809c2ac17c377427083cbcf33d426f170e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:916-929 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:997-1010 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1079-1092 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5d95f98b701652cd485ddf084a04b5a518a71bc9d4b29ac94aa35aa7e24dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1014-1027 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1096-1109 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1014\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":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1b93f470d5a1e6cdfd2f4857ec6413f6d010fadc05546cd600b8cd3c043031"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfMediaUpdate.java:62-74 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfMediaUpdate.java:76-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":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfMediaUpdate.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"005d893683efb79a5b88c8e1dc7c5b4fec1d6a495b0a5f86af586ca9900a761d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfNsfwFlag.java:24-36 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetReport.java:55-67 \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 \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfNsfwFlag.java:24\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetReport.java:68\u0060 calls \u0060putValue\u0060 and \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfNsfwFlag.java:37\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":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfNsfwFlag.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"003aa0fc548720c21a95a4bf25ba8acf690cd3f9029daeb14c212bc89c6451bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:933-944 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1014-1025 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1096-1107 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f890a4379b257d89f845984e4097e1c35d279fd0041bdb05dc8c3804f348c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetCreate.java:53-64 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetUndelete.java:47-58 \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 \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetCreate.java:53\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":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetCreate.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"596ab54b14dae0e3ed0c9e6ba4278042e28b4c6f767dfc69fa31ab9a08cb8166"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/ASTNode.java:143-154 | botmaker/src/java/com/twitter/botmaker/function/DerivedFeatureCall.java:225-235 \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 \u0060botmaker/src/java/com/twitter/botmaker/ASTNode.java:143\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/ASTNode.java"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2cdc3f344079d0ae421b67f2b07450239f7ee6a0bf28a6a8c35dafad64458a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:873-884 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:953-964 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:873\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060Collection\u0060 in one and \u0060List\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"25adcbd4cba643a2c71f01dbcc970825516208c20bf94bc219582681ed2328d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1476-1487 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1513-1524 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1476\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":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16e8b9b149118dd7b7e7d85e18ccf45e9fe1d3ab9f47cc0b710c9742f53ed79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/collection/Any.java:59-70 | botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java:105-116 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/java/com/twitter/botmaker/function/collection/Any.java:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/Any.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8b787089549d8735fc93bffa8fa8c37c52fd2e0cad33f69a2f363adc5fcb4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 4): botmaker/src/java/com/twitter/botmaker/compiler/Parser.java:38-48 | botmaker/src/java/com/twitter/botmaker/compiler/Parser.java:86-96 | botmaker/src/java/com/twitter/botmaker/compiler/Parser.java:145-154 | botmaker/src/java/com/twitter/botmaker/compiler/Parser.java:209-218 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/java/com/twitter/botmaker/compiler/Parser.java:38\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":"botmaker/src/java/com/twitter/botmaker/compiler/Parser.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"524875b4632e5901c93487d41a92c813decdd5daf4e009cac85da4a69f7fac64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/CompilerBuilder.java:248-258 | botmaker/src/java/com/twitter/botmaker/compiler/CompilerScope.java:118-128 \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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060context\u0060 to \u0060CompilerContext\u003CE\u003E\u0060 in one and \u0060CompilerContext\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/CompilerBuilder.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22abeac13dc1d95c41a692046c8516885a92932e87543763393e0d327e55bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/DerivedFeatureCall.java:138-149 | botmaker/src/java/com/twitter/botmaker/function/DerivedFeatureCall.java:155-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/java/com/twitter/botmaker/function/DerivedFeatureCall.java:138\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. 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":"botmaker/src/java/com/twitter/botmaker/function/DerivedFeatureCall.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaf2e959daeb042005e74cbc4860a8bf3450bab10de6b9ec54532322982829a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/exception/Try.java:66-76 | botmaker/src/java/com/twitter/botmaker/function/exception/TryWithStack.java:70-80 \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 \u0060botmaker/src/java/com/twitter/botmaker/function/exception/Try.java:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/exception/Try.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"133b8bca789b3216d02e28dcced9d9dc7a3cb3e4e8dd6f2118b199c9ffb7cf86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/math/Max.java:51-61 | botmaker/src/java/com/twitter/botmaker/function/math/Min.java:51-61 \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. 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":"botmaker/src/java/com/twitter/botmaker/function/math/Max.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83d8b9f269ec1cf3639a00db75d0033e217dc7e5f8061cb0e0d7043b79753ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 3): botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:919-927 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:955-964 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:1004-1013 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:917\u0060 calls \u0060getReturnType\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:953\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":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39d66f61394f2d4e43158470d8f2fef780d019001430dde60aab260db1c91eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:873-882 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:953-962 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:1034-1043 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060Collection\u0060 in one and \u0060List\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"9777e6433536298311bb6b1c16f76b37e81b7d6dcc2a76f479c1ccc05509a597"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfEventBusFanoutEvent.java:209-218 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweet.java:175-184 \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. 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. Note first that the copies are not typed on the same thing: \u0060HashtagEntity\u0060 names \u0060com.twitter.dmservice.thrift.HashtagEntity\u0060 in one and \u0060com.twitter.tweetypie.thriftjava.HashtagEntity\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfEventBusFanoutEvent.java"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d86db08c16d85bed53312ee2bd73c966c9198bd26ace7bccb147a098f305f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/Extractor.java:123-132 | botmaker/src/java/com/twitter/botmaker/Extractor.java:160-169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"botmaker/src/java/com/twitter/botmaker/Extractor.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"62802083c0fe77e0a31d09b194438e0ac3fa38ec3076220cbff9deb3c4b658d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:377-386 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:393-402 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:377\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":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"8606f881553628912d838ae9e2ed7b7fe0db74d1028fbf7f99d228927ce9bf7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:904-914 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:985-995 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:904\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"6950dce81594ac34b98ef1b52de3efc49c90b668c43374868a0e43f0890234a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java:418-427 | botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java:465-474 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java:418\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/ThriftStructType.java"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa82d3e7e87c87783a4cfc7ece2cf144a868a0f747fbf35ea8b7791dd9d7e19d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:40-49 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java:40-49 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 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 \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:40\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"79fc8b170a6d85dbe8165201f2f952edc9b891da22c26b435eff5291fd3b3483"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O3.java:36-47 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode6O5.java:36-47 \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 \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O3.java:36\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":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O3.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d809526d54d6e40717cfec02dbb63c5e3f5018592624f372fe79d2cd74487a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/FunctionNode2.java:29-38 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode2.java:50-59 \u2014 both copies are in the same file, so extract the block 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":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode2.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d49f6399c54c7c31f965b8ce83f2a0d33b48c5daab95166f40fa4b66fed416"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/collection/IndexAccessor.java:86-95 | botmaker/src/java/com/twitter/botmaker/function/collection/IndexAccessor.java:111-123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/java/com/twitter/botmaker/function/collection/IndexAccessor.java:86\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/IndexAccessor.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9930d5222c5cebffb4ea741693eb452e31b5de0cc72fb43aa71ac00d4d4fea1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java:135-144 | botmaker/src/java/com/twitter/botmaker/function/logic/Disjunction.java:137-146 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/logic/Disjunction.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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 \u0060botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a849765f643cb7d2719caa35f297e1d91f5efb7d74da071226c87cd7ee9f712"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java:50-59 | botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java:49-58 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 87 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 \u0060botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java:50\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. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf8f95d566a15679d2d346881f44584f463489d2fb79d2796139ed479eab399"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): botmaker/src/java/com/twitter/botmaker/function/FunctionNode1.java:34-42 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:42-50 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode2.java:35-43 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java:42-50 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode3.java:36-44 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1.java:34\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:51\u0060 calls \u0060size\u0060, \u0060apply\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode2.java:44\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode1.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b70f5fddb231f38d0d2a094c66628ba601e2e4da05530214508a2716d25f68e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): botmaker/src/java/com/twitter/botmaker/function/collection/MapOperator.java:61-69 | botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java:47-55 | botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java:46-54 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 87 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":"botmaker/src/java/com/twitter/botmaker/function/collection/MapOperator.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7d229159188708a8c3ecf6eb9fa5d2d8e0c37def25f959edef454625e68e4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:410-418 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:475-483 \u2014 both copies are in the same file, so extract the block 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":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cf9d49b8dc05ff3a8d86661346ead87d42e896f94e743c4b8e0a0191b03164"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/FunctionNode.java:31-39 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode.java:54-62 \u2014 both copies are in the same file, so extract the block 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":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fabc1ce1812d31adb00344efb4007719c9f0a0b2b30be184903b099983e8bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/FunctionNode0.java:30-38 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode0.java:47-55 \u2014 both copies are in the same file, so extract the block 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":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode0.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf9f339ef0e426be0ba35d5b6ca38b961511bb889412dbdec90150261b70f31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/FunctionNode1.java:29-37 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode1.java:48-56 \u2014 both copies are in the same file, so extract the block 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":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode1.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81f3e6fddd475a1adc77c01573946370fe082d095c9930186b76c42c2381f6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfArkoseVerifyEvent.java:22-29 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfCastleEvent.java:22-29 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfCastleEvent.java:30\u0060 calls \u0060putExtractor\u0060, \u0060getEvent_status\u0060 and \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfArkoseVerifyEvent.java:30\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfArkoseVerifyEvent.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"670724ecdf5b70dc743ed06f34a9ddf0b2b53c2b92a2fc64aa01ce77913ac7de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java:41-48 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberRemoveRequestResult.java:41-48 \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 \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java:41\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":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"471d273a890b8d5cdc4a4e3824c39660527015419f5e671bee163a7d34a9bd82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListSubscribeRequestResult.java:41-48 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListUnsubscribeRequestResult.java:41-48 \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 \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListSubscribeRequestResult.java:41\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":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListSubscribeRequestResult.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"973ee882828869af832bb37f490c6eb96c65c03790883be26df0f99351e40970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/tuples/StructTuple.java:55-62 | botmaker/src/java/com/twitter/botmaker/compiler/types/StructTupleType.java:59-65 \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 \u0060botmaker/src/java/com/twitter/botmaker/compiler/tuples/StructTuple.java:55\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":"botmaker/src/java/com/twitter/botmaker/compiler/tuples/StructTuple.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c8d58dc2c8ab9dab28d0aa9076643c6d2667ed6e3c1c7a383150c067e77fed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:26-33 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java:26-33 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 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 \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:26\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad19d92e1ae34911fb780ce057b16236f16f6e8058c9a78c399360deea8736af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O3.java:32-39 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O3.java:53-60 \u2014 both copies are in the same file, so extract the block 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":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O3.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"56748d472b1e5cba63fe8780d2ebf2a071a04447725ca52c3a3dfdf52f4786ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/FunctionNode6O5.java:32-39 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode6O5.java:53-60 \u2014 both copies are in the same file, so extract the block 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":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode6O5.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d21c264e988c3c43aff2ee468eade38db50d73be66095725841b165ab4166e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/collection/Contains.java:50-58 | botmaker/src/java/com/twitter/botmaker/function/collection/Count.java:37-45 \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":"botmaker/src/java/com/twitter/botmaker/function/collection/Contains.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"27272f560a4139b0fdf1afb292436fe9295b71b5c500f5752e679fdcafeb20d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/conversion/ThriftFromDict.java:33-40 | botmaker/src/java/com/twitter/botmaker/function/conversion/ToThrift.java:28-35 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/conversion/ThriftFromDict.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/conversion/ToThrift.java\u0060 as WHOLE FILES: 83% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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. 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":"botmaker/src/java/com/twitter/botmaker/function/conversion/ThriftFromDict.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"be353e6f5210b904d6e4abc1a94e2b95df1061dd1ef17a8746cc09cf96ab2ca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java:36-43 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberRemoveRequestResult.java:36-43 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListRemoveRequestResult.java:36-43 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListSubscribeRequestResult.java:36-43 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListUnsubscribeRequestResult.java:36-43 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java:45\u0060 calls \u0060putValue\u0060, \u0060getMember_id\u0060 and \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListRemoveRequestResult.java:45\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":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b80b2ef0483c32f4c8553b333efada2fd936ea5284be9f8e00a20b4d95def9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O3.java:28-34 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode6O5.java:28-34 \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 \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O3.java:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O3.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"51197b4a387bc4136817b4e2a4465216c2b9c68c505f0bf48dccc0bcadd4fce8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java:118-124 | botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java:169-175 \u2014 both copies are in the same file, so extract the block 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 \u0060botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java:118\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":"botmaker/src/java/com/twitter/botmaker/function/collection/Fold.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"505102438c0eaabf38882cbd89b0ff4c267a4b6f0ce7516acf579aa596c34b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java:125-133 | botmaker/src/java/com/twitter/botmaker/function/logic/Disjunction.java:127-135 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/logic/Disjunction.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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 \u0060botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java:125\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb783a615ecc118ebbc92e280a210a282d4aa4ac25a26c5300cdba95ac5ba5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:139-144 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:309-314 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:484-490 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:491\u0060 calls \u0060isSetFromSessionHash\u0060, \u0060put\u0060, \u0060getFromSessionHash\u0060 and \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:145\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c608f058af3a9e010ad265e063d16b16a945edf20418f2b72a5577981e1af2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:521-526 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:771-776 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:835-840 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:521\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":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d6f4bdc0f59c2742e95317ebb9852cecc9d1c57cb6e4b4f24a3a4c889c5f25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:163-168 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:331-336 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:337\u0060 calls \u0060isSetSelectionBypassed\u0060, \u0060put\u0060, \u0060valueOf\u0060 and \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:169\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea23f9b8d78afc417d0b1132bca65f584a71eb2c93b2f012d074b3d7ea0688c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:169-174 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java:340-345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d197be6af715322ee4f5019885cb6dcd33caff6c3fdf5ac6448acf1f397bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfCommunityPinEntryData.java:31-37 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfCommunityUnpinEntryData.java:32-38 \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 \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfCommunityPinEntryData.java:31\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":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfCommunityPinEntryData.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b9706f05c2660630383efcfe586646dae6978f5abbeec4c20b9626ede70a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/FunctionNode3.java:30-39 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode3.java:52-61 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode3.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"377d25e771cebe44373458aed2ea7ef05c95291a101aa202846b84f08292eaf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java:34-39 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberRemoveRequestResult.java:34-39 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListRemoveRequestResult.java:34-39 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListSubscribeRequestResult.java:34-39 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListUnsubscribeRequestResult.java:34-39 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListUpdateRequestResult.java:38-42 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java:34\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListUpdateRequestResult.java:43\u0060 calls \u0060putValue\u0060, \u0060getResult\u0060, \u0060getList_id\u0060 and \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java:39\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":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73f26d8108bc542c53a02a4a3264ab7b4646b4d758dafe3a770ec45aca74cae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsBlockGraphEvent.java:37-42 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsFollowGraphEvent.java:38-42 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsMuteGraphEvent.java:39-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsBlockGraphEvent.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6854e0ca5ce879f0ea8509330e07c0496370b74abe97fc352e9487ae0d11e52c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:912-916 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:949-953 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:998-1002 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21113eb98167fc9f99f4049dbcea931dc401818e9cd51682bdc6d60abb40373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:528-532 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:778-782 | botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:842-846 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:528\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":"botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"3546104d51ec2d9fce2019fc6fde359596eb105b15218190056b6f6250d7d4d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/Mock.java:74-78 | botmaker/src/java/com/twitter/botmaker/compiler/Mock.java:147-151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Mock.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a712e1d602af1fed902ffc8a4f0a9816403b76b8eb4c31c912573d7cedb42f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java:89-114 | botmaker/src/java/com/twitter/botmaker/function/logic/Disjunction.java:90-115 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/logic/Disjunction.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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":"botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"043d98e54466a9a357089b1f150bb3cb4a0d8cff25ae61ba8c4a60c6a229ac40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfBookmarkEvent.java:14-26 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfUnbookmarkEvent.java:14-26 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060event\u0060 to \u0060BookmarkEvent\u0060 in one and \u0060UnbookmarkEvent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfBookmarkEvent.java"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e0d0bd09235b896abefeedd3c8d076507f22fdbc500324558a05113b0e6880"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/thrift/TEnumMetaData.java:11-25 | botmaker/src/java/com/twitter/botmaker/compiler/thrift/ThriftEnumMetaData.java:10-24 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sClass\u0060 to \u0060Class\u003C? extends TEnum\u003E\u0060 in one and \u0060Class\u003C? extends ThriftEnum\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/thrift/TEnumMetaData.java"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c201f65581dd85a3229ccb8e39917c4862b28ca87d4ddbda137b8c06c0f114e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/feature/OutputFeature.java:1-60 | botmaker/src/java/com/twitter/botmaker/function/misc/DebugOutput.java:1-59 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/feature/OutputFeature.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/misc/DebugOutput.java\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/java/com/twitter/botmaker/function/feature/OutputFeature.java:1\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":"botmaker/src/java/com/twitter/botmaker/function/feature/OutputFeature.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f68e834e6b534b6588728619eead951641d3448293a705c7b49e01b9bc1ca51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsBlockGraphEvent.java:28-33 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsFollowGraphEvent.java:29-34 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsMuteGraphEvent.java:30-35 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsBlockGraphEvent.java:28\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":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsBlockGraphEvent.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"135b6b228c30341886b80448a807a0ca2b5748f16c2c49fb5c7483b39e428dd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListCreateRequestResult.java:27-33 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListUpdateRequestResult.java:28-34 \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 \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListCreateRequestResult.java:27\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060requestResult\u0060 to \u0060ListCreateRequestResult\u0060 in one and \u0060ListUpdateRequestResult\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListCreateRequestResult.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"daca9c8322fd76127432d85f0c9a454ebe0b9c92ca2f6c0086edde24ed6e6a6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java:25-30 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberRemoveRequestResult.java:25-30 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListRemoveRequestResult.java:25-30 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListSubscribeRequestResult.java:25-30 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListUnsubscribeRequestResult.java:25-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 5 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java:25\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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060requestResult\u0060 to \u0060ListAddMemberRequestResult\u0060 in one and \u0060ListRemoveMemberRequestResult\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfSgsListMemberAddRequestResult.java"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6daa67c3571c788080ceaa36ee51f718c2807ba5589f8d0a0ea17b39bb4c7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): botmaker/src/java/com/twitter/botmaker/function/FunctionNode.java:68-76 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode1.java:62-70 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:97-105 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode.java:68\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:93\u0060 calls \u0060apply\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1.java:59\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe8d34598c0134b2e7cafd57db65fe712142fa1019089d20e46f5a811035835"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:82-91 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode2.java:65-73 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java:97-105 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 37 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 \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:82\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java:93\u0060 calls \u0060apply\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java:79\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode1O1.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f79e4eed621edf6f8e0972e02cfc4866e0158c0e08f72863fd902229bffd112"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java:83-91 | botmaker/src/java/com/twitter/botmaker/function/FunctionNode3.java:67-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java:83\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/FunctionNode2O1.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dc9bdc7f583394d6b053ba67a35827050612d803eaa7556aaadc80d1972e5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/collection/Any.java:78-84 | botmaker/src/java/com/twitter/botmaker/function/collection/ForEach.java:69-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/Any.java"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c74689a01a5777af806ab655a4c27cd8f4cb3442f7d2e415baf88e428fbd77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/collection/Filter.java:197-202 | botmaker/src/java/com/twitter/botmaker/function/collection/ForEach.java:162-167 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/collection/Filter.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bb28ebe0bc43f2f576a9f086a279c61046b11a2d1ff6ce679efa6cbc5cf41f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java:117-121 | botmaker/src/java/com/twitter/botmaker/function/logic/Disjunction.java:118-122 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/logic/Disjunction.java\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 50 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 \u0060botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java:117\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6227eb685d5ad6dd085425905d6fe5ba043139ef1bb113413fbf60b401cee2d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceCoHostJoinEvent.java:22-28 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceCoHostLeaveEvent.java:22-28 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceEndEvent.java:22-28 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceListenerJoinEvent.java:22-28 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceListenerLeaveEvent.java:22-28 | botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpacePublishEvent.java:22-28 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAudioSpaceCoHostJoinEvent.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a88d8e96b3848d7a8a4b3d96f35e920046b144891535cd0c958f1cc1a1401c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/types/TupleType.java:30-42 | botmaker/src/java/com/twitter/botmaker/compiler/types/Type.java:416-428 \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 \u0060botmaker/src/java/com/twitter/botmaker/compiler/types/TupleType.java:30\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/types/TupleType.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fe476d67dbefd114ee1d1cee7b998f1bd9b4331362bc14e12c4a279175f2a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/conversion/ToDouble.java:47-54 | botmaker/src/java/com/twitter/botmaker/function/conversion/ToLong.java:47-54 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/conversion/ToDouble.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"58874825bb82323aecc818b92b5eac9de167b478e677946eaf3dc1ba7723f8c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/string/IndexOf.java:52-57 | botmaker/src/java/com/twitter/botmaker/function/string/LastIndexOf.java:52-57 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/string/IndexOf.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/string/LastIndexOf.java\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/string/IndexOf.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7718c55129086f72d04bc4dbccf810b52263f7e699b436d7c8ae6f1ac089f0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/string/IndexOf.java:65-70 | botmaker/src/java/com/twitter/botmaker/function/string/LastIndexOf.java:65-70 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/string/IndexOf.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/string/LastIndexOf.java\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. 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 \u0060botmaker/src/java/com/twitter/botmaker/function/string/IndexOf.java: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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/function/string/IndexOf.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"150c9e9212f5750d207981c829c1fd450586b04d07d70c6dd95ef1bdb7ed59c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java:32-36 | botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java:31-35 \u2014 before extracting anything, compare \u0060botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java\u0060 and \u0060botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 87 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":"botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bfb7dbe128e79e6093fe588cf32ddf3c81d80b82379f730194b40f7c91338e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:1089-1093 | botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java:1099-1103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/java/com/twitter/botmaker/compiler/Compiler.java"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"c984c1b2590e63a4288a51f1f7f32ab67018e860c11d69ca124736b2c0bdfe86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2): grox/flows/reply_spam/classifier_reply_ranking.py:110-172 | grox/flows/reply_spam/classifier_simple_reply_scorer.py:88-150 \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 \u0060grox/flows/reply_spam/classifier_reply_ranking.py:110\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_reply_ranking.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e553f3eb1386b565bcc6a3da142083c9f952b13f0922c9fbec405bc726a6b1e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_attention_fa4.py:378-434 | phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:532-588 \u2014 before extracting anything, compare \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py\u0060 and \u0060phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 258 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 \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py:378\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":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddee2eb62486061baed0d01badaa1e67230e9f23526cce2ae1695870bf53d00d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): grox/flows/reply_spam/task_filter.py:105-157 | grox/flows/reply_spam/task_multi_step_reply_spam.py:38-90 \u2014 before extracting anything, compare \u0060grox/flows/reply_spam/task_filter.py\u0060 and \u0060grox/flows/reply_spam/task_multi_step_reply_spam.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 112 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d1884db78bf64de64bdbc5e711fb2a57926917f3430743732a18f32a5c7241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_attention_fa4.py:477-529 | phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:634-686 \u2014 before extracting anything, compare \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py\u0060 and \u0060phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 258 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 \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py:477\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":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c6ed08225619872202ed4b51b47abf79270d75aaf590d6ca21cf3ecd6ae8e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): grox/flows/mm_emb/renderer_v82.py:192-239 | grox/flows/mm_emb/renderer_v8_search.py:232-279 \u2014 before extracting anything, compare \u0060grox/flows/mm_emb/renderer_v82.py\u0060 and \u0060grox/flows/mm_emb/renderer_v8_search.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 176 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":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e409d7ed07f1a301ad35f8af551860cd9fc07a47d7abcae521f3b0293d568cb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201349 lines \u00D7 2): phoenix/xrex/inference/launch_multi_inference.py:324-372 | phoenix/xrex/inference/launch_multi_inference.py:595-640 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/xrex/inference/launch_multi_inference.py:374\u0060 calls \u0060min\u0060 and \u0060phoenix/xrex/inference/launch_multi_inference.py:641\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"6335ae8b31428335fa1f43fc7cbb67c0c33d923e8dad5cfa72ff64d9193710c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_attention_fa4.py:138-182 | phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:407-451 \u2014 before extracting anything, compare \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py\u0060 and \u0060phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 258 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 \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py:138\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":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f6e04acdf59c4f9a49469999b8191c6cac99c843cba084ab0dafc7a2d8d9ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201342 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:577-618 | phoenix/xrex/pallas/ranker_attention_varlen.py:588-604 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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 \u0060phoenix/xrex/pallas/ranker_attention_v2.py:577\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82a752f39b999059eb8a85c5b16a66eb5e57d7e11b5972fe26b584e6acac2d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201337 lines \u00D7 2): phoenix/xrex/data/streaming/kafkaconsumer.py:1485-1519 | phoenix/xrex/data/streaming/kafkaconsumer.py:2029-2065 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/xrex/data/streaming/kafkaconsumer.py:2028\u0060 calls \u0060info\u0060 and \u0060phoenix/xrex/data/streaming/kafkaconsumer.py:1484\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":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79dde344915ddd864c01b9c6934e26125f6892694f357f4e0d38a3aafac4e38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201337 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:585-621 | phoenix/xrex/pallas/ranker_attention_varlen.py:635-654 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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 \u0060phoenix/xrex/pallas/ranker_attention_v2.py:585\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, \u0060phoenix/xrex/pallas/ranker_attention_v2.py:622\u0060 calls \u0060swapaxes\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:654\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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb981fa8758f6231cad7868a74cfe881753b3d47f08125f4a4f8822a113335bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:148-183 | phoenix/xrex/pallas/ranker_attention_v2.py:287-322 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3461a76cf1a99d20408969fb47e2ac4986cf25206a6364b02ddf876b1595187"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): grox/libs/kafka_cli/consumer.py:46-77 | grox/libs/kafka_cli/producer.py:17-48 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34c53c69c7b2ca6adfd3c113521f6bdd954f6f92f0d64d075b4f3e4c3c7e98c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): phoenix/xrex/data/recsys/recsys_batch.py:1339-1370 | phoenix/xrex/data/recsys/recsys_batch.py:1475-1506 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"9194353a403f79a4fb18cc7bc3f39bca3c090f187b56f43a051f0d70026ed959"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): grox/flows/reply_spam/classifier_coordinated_spam.py:174-203 | grox/flows/reply_spam/classifier_multi_step_reply_spam.py:178-207 \u2014 before extracting anything, compare \u0060grox/flows/reply_spam/classifier_coordinated_spam.py\u0060 and \u0060grox/flows/reply_spam/classifier_multi_step_reply_spam.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"807e4b43ca1d148ae21996717cf4b2340f7c9caf9012983ac775b08d012c0f7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29\u201330 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:5063-5092 | phoenix/xrex/models/recsys_model.py:5872-5900 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/models/recsys_model.py:5063\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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":5063}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24c38c2ace0857799cbaed045f73caee095fcdb6f03ae403b330163401e6848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_fa3.py:189-217 | phoenix/xrex/pallas/ranker_attention_fa3.py:1324-1352 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b4a8402e76839a2cbf5298d9df223a5421af7442eb0da927b462c0b56347ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): grox/flows/reply_spam/task_filter.py:156-182 | grox/flows/reply_spam/task_multi_step_reply_spam.py:98-124 \u2014 before extracting anything, compare \u0060grox/flows/reply_spam/task_filter.py\u0060 and \u0060grox/flows/reply_spam/task_multi_step_reply_spam.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 112 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 \u0060grox/flows/reply_spam/task_filter.py:156\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f43e4f1f6ed9b7f80595c9cffe842da9b905bb5c38a80914fffc1b49dfd5c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_attention_fa4.py:540-565 | phoenix/xrex/cutedsl/ranker_attention_fa4.py:584-610 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py:540\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":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"109f84c65b6d53051ef62921f96a0b39e3c0fc0152e190564d5dc086ecf71d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:467-493 | phoenix/xrex/pallas/ranker_attention_v2.py:556-581 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/pallas/ranker_attention_v2.py:467\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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaa58a70df3d7fa5a0649b3da8dc4e0b207e14937c941942e80c733345a7009"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): grox/flows/reply_spam/task_multi_step_reply_spam.py:160-185 | grox/flows/reply_spam/task_write.py:167-192 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_multi_step_reply_spam.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b99db941fadce82f2701136cfef3467159c8217137ea62d7a6290d594b104c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_utils.py:31-56 | phoenix/xrex/pallas/ranker_attention_utils.py:74-99 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_utils.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5369c884220a4bbcb9b301e2f8b2758d902a565d26314eee7be672eb211773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201326 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:1073-1087 | phoenix/xrex/pallas/ranker_attention_varlen.py:1288-1313 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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 \u0060phoenix/xrex/pallas/ranker_attention_v2.py:1073\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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37f787bb986b421ffdc10c10189c5c85da2222da422f6f2bc53e0bc1fb7bb08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): phoenix/xrex/cuda/async_emb/async_emb.py:260-284 | phoenix/xrex/cuda/row_emb/row_emb.py:263-287 \u2014 \u0060phoenix/xrex/cuda/async_emb/async_emb.py\u0060 and \u0060phoenix/xrex/cuda/row_emb/row_emb.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 72 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/async_emb/async_emb.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8d395abe0124ae5677cd690152efffeadbe69446026a81c318ae9f000910b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201325 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_fa3.py:684-693 | phoenix/xrex/pallas/ranker_attention_fa3.py:915-939 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/pallas/ranker_attention_fa3.py:684\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"6671990614e48a60974f62488f657dcdc8eaa7ca2edf71516d86406745c78dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): phoenix/reference/sid_codebook.py:261-284 | phoenix/reference/sid_codebook.py:649-672 \u2014 both copies are in the same file, so extract the block 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":"phoenix/reference/sid_codebook.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc84879f9c227057d44d7e0fed214e7109250f8aa472a44a7f6f6e7bbbb412fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): phoenix/xrex/inference/model_runner.py:4443-4465 | phoenix/xrex/inference/model_runner.py:5532-5555 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4443}}}],"partialFingerprints":{"codehealthFindingId/v1":"21488509d015fccb043dabef30a44060ee9b1dc38480461fb30e495138c46c4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:1755-1778 | phoenix/xrex/models/recsys_model.py:3349-3370 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71a8b0c07145f2fe5eb9578275f6396bf8f0ef7b18fc51b92a9156ae15f491c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201324 lines \u00D7 2): phoenix/xrex/pallas/attention.py:198-206 | phoenix/xrex/pallas/ranker_attention_v2.py:503-526 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/attention.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 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 \u0060phoenix/xrex/pallas/attention.py:198\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":"phoenix/xrex/pallas/attention.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b100aedfe604d5e331599fdb1ff7845c2daf171a0d0551caa9a149c624ec1fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_varlen.py:436-459 | phoenix/xrex/pallas/ranker_attention_varlen.py:572-594 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:436\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":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"1581ca6a1aa02ce94dcd7ebd765c6a0d26483941467586d616e7cc3ac443eb2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): grox/flows/ptos/classifier.py:678-699 | grox/flows/ptos/classifier.py:703-724 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c53b2acd4b19e0cb0a7bb20fe36610a3b7b6513bf08469f07703ed7c9230b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_fa3.py:137-158 | phoenix/xrex/pallas/ranker_attention_fa3.py:1285-1306 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"291d596c50dcde37cd3e9068ce3a8592dfd82d0c7c8080f7b0468c5231e53eee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): adult-content/scripts/train_model.py:65-85 | clip/training.py:89-109 \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 \u0060adult-content/scripts/train_model.py: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":"adult-content/scripts/train_model.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d073d13f93c11213d98314366643c0b8556363abfc9ffba6818c6019a76bf54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_attention_fa4.py:585-605 | phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:728-746 \u2014 before extracting anything, compare \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py\u0060 and \u0060phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 258 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 \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py:585\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":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b4954aa30d4a90173ce2a696be04d9db67a78eaf5dc7eb023bdcfccc654606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:693-713 | phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:728-748 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:693\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":"phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed248d731988ccd14b9f8081d446f75f322f2bcf7c0cddf4dc28344aa2da3df3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_fa3.py:258-289 | phoenix/xrex/pallas/ranker_attention_fa3.py:1378-1408 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f80dad85b803f6a86649322adf0737078e81fe5f7c82f2e84948e008a9a1807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:1019-1038 | phoenix/xrex/pallas/ranker_attention_varlen.py:1215-1235 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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 \u0060phoenix/xrex/pallas/ranker_attention_v2.py:1019\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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be0401af84d0b41f6e59806e72b3a29e24d57d6eb08860e155d03015e19a3c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): bdsm/runtime/batch_prefetcher.py:56-75 | bdsm/runtime/gpu_scorer.py:25-44 | bdsm/runtime/score_results_sink_focal.py:29-48 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a488df34f7d418cb1f33ff0c6503e4953652f274dfd993c3744f87c2052751"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): phoenix/xrex/cutedsl/ranker_attention_fa4.py:481-500 | phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:484-503 | phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:638-657 \u2014 before extracting anything, compare \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py\u0060 and \u0060phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 258 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 \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py:481\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":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d77007aae6029d62e74eee7a1998d5bf0f43a08dbeea3ab1a37d4619a1ceeee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): grox/flows/mm_emb/renderer.py:133-152 | phoenix/reference/mm_encoder.py:195-212 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"e661916f0b06506339a7e7d6f5b0a15e8631f8a04eb428749a5e0cbe892461a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201320 lines \u00D7 2): grox/flows/upa/task_filter.py:17-34 | grox/flows/upa/task_filter.py:55-74 \u2014 both copies are in the same file, so extract the block 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 \u0060grox/flows/upa/task_filter.py:17\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060grox/flows/upa/task_filter.py:16\u0060 calls \u0060counter\u0060, \u0060add\u0060 and \u0060grox/flows/upa/task_filter.py:54\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":"grox/flows/upa/task_filter.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"29093a8d37b31807b232be6f71af82cb414cb977ab3b9ef35e5aac35ac56ee3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): phoenix/xrex/cuda/async_emb/async_emb.py:222-241 | phoenix/xrex/cuda/row_emb/row_emb.py:218-237 \u2014 \u0060phoenix/xrex/cuda/async_emb/async_emb.py\u0060 and \u0060phoenix/xrex/cuda/row_emb/row_emb.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 72 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ctx\u0060 to \u0060AsyncEmbContextHandle\u0060 in one and \u0060RowEmbContextHandle\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/async_emb/async_emb.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d7f8ebe66e86fcb72320d38080b84620c7ff938900ea5abfbfee4eb8a00d4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:1994-2013 | phoenix/xrex/models/recsys_model.py:2034-2053 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0755b18047b5aebe44f8f7d77a05fe31bcb8c1b92cd331ecf95244bc68a0e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): grox/flows/ptos/task_filter.py:71-89 | grox/flows/reply_spam/task_filter.py:162-180 | grox/flows/reply_spam/task_multi_step_reply_spam.py:104-122 \u2014 before extracting anything, compare \u0060grox/flows/reply_spam/task_filter.py\u0060 and \u0060grox/flows/reply_spam/task_multi_step_reply_spam.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 112 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 \u0060grox/flows/ptos/task_filter.py:71\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_filter.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34d9aa2e31e40b5ecdf69724838ecea4c565293bfff3f26c3c93307cf53fc34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): grox/flows/mm_emb/renderer_v82.py:247-265 | grox/flows/mm_emb/renderer_v8_search.py:292-310 \u2014 before extracting anything, compare \u0060grox/flows/mm_emb/renderer_v82.py\u0060 and \u0060grox/flows/mm_emb/renderer_v8_search.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 176 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":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea95363fa8182b4926cdb2be6110cd2596007bcc1032d49afbd0e17168a19a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): phoenix/xrex/configs/data_feeds.py:127-145 | phoenix/xrex/configs/data_feeds.py:162-180 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/xrex/configs/data_feeds.py:181\u0060 calls \u0060get\u0060 and \u0060phoenix/xrex/configs/data_feeds.py:146\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/data_feeds.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e91958da488643b8ca4655908e3796bf7561091a0b86b1091b51e5c27595f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): phoenix/xrex/configs/xrecsys.py:100-118 | phoenix/xrex/configs/xrecsys_two_tower.py:85-103 \u2014 before extracting anything, compare \u0060phoenix/xrex/configs/xrecsys.py\u0060 and \u0060phoenix/xrex/configs/xrecsys_two_tower.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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 \u0060phoenix/xrex/configs/xrecsys.py:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/xrecsys.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d33b14b34b8f3ee75c6c1cef33712ffc5ebdc99ad5b7b20e00b650cfdc9ddbf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): phoenix/xrex/data/recsys/recsys_batch.py:2100-2118 | phoenix/xrex/data/recsys/recsys_batch.py:2360-2378 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/data/recsys/recsys_batch.py:2100\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":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ff502be56c1a429d885fd043140384b2c0357b369f406892de2d0bdf1384e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_fa3.py:309-344 | phoenix/xrex/pallas/ranker_attention_fa3.py:1469-1504 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/pallas/ranker_attention_fa3.py:309\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":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d1bca843858314ec27af76d3f8bc1a1e00e6225cfc1a846e802237374ffc14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:942-960 | phoenix/xrex/pallas/ranker_attention_varlen.py:1111-1128 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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 \u0060phoenix/xrex/pallas/ranker_attention_v2.py:942\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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f35ba2a50323098af70560b485c8b67b743e17cce949dda425b2dace9b9da6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_varlen.py:1553-1571 | phoenix/xrex/pallas/ranker_attention_varlen.py:1707-1725 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"de75baeeff2947fac943169ed1032c7dfd6d39f1097c5036dc9e616a52ae7cb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): grox/core/data_loaders/data_types.py:870-887 | grox/core/data_loaders/post_mapper.py:153-170 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060post_metadata\u0060 to \u0060t.PostMetadataV2\u0060 in one and \u0060StratoPostMetadata\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/data_types.py"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7a8e1536c4c5a7a125a9e30a134dc2e658bf05a3bfa5817cc06d7a0742a73e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): grox/flows/reply_spam/classifier_coordinated_spam.py:112-128 | grox/flows/reply_spam/classifier_multi_step_reply_spam.py:113-130 \u2014 before extracting anything, compare \u0060grox/flows/reply_spam/classifier_coordinated_spam.py\u0060 and \u0060grox/flows/reply_spam/classifier_multi_step_reply_spam.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060grox/flows/reply_spam/classifier_coordinated_spam.py:112\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea72c01e39a2f6566ac75e8f3622ad4147e294e42e287374b787e5923843260c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): grox/libs/blobstore_http/cdn_downloader.py:29-46 | grox/libs/blobstore_http/cdn_downloader.py:53-70 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/cdn_downloader.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa579a6cd01603e4f58f2574109921e3db8fd7b8995aaf3833e4216a1282ea28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_attention_fa4.py:535-552 | phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:688-704 \u2014 before extracting anything, compare \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py\u0060 and \u0060phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 258 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 \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py:535\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ba9e2591468fec3f1cff8e449094c43cb7be7fc9947112f7a3171289c24fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:1695-1712 | phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:1740-1755 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fab94009de2f17661e4cc6b11617d92f403d38e30494b6ff8b9206c6208526"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): phoenix/xrex/data/streaming/kafkaconsumer.py:1392-1409 | phoenix/xrex/data/streaming/kafkaconsumer.py:1904-1921 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3bf7871216128ae3164140258c484389e7eb7158d0834c48fddf243dcd5e7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:4324-4340 | phoenix/xrex/models/recsys_two_tower_model.py:1742-1759 \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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":4324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eca9270072a1c4577944c32b284c2e1d9fdc45f4710f47dac0a4dc189e494e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_fa3.py:347-364 | phoenix/xrex/pallas/ranker_attention_fa3.py:1507-1524 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7a0eff61a1d2f73527e6090d8b67d78e1c951244165184c4de774e4ebb4a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_varlen.py:1941-1958 | phoenix/xrex/pallas/ranker_attention_varlen.py:1980-1997 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:1941\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":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3f249f44814f94f73e6fa8044e1621df4cc20aa1afdb84fb7b30cf1a6008e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): grox/flows/reply_spam/classifier_coordinated_spam.py:155-171 | grox/flows/reply_spam/classifier_multi_step_reply_spam.py:159-175 \u2014 before extracting anything, compare \u0060grox/flows/reply_spam/classifier_coordinated_spam.py\u0060 and \u0060grox/flows/reply_spam/classifier_multi_step_reply_spam.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6425bf668860a5fb3c0d820f4e941e76edd80557fda0f0d4cf84c81355f7bc2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): phoenix/xrex/eval/recsys_eval.py:461-477 | phoenix/xrex/eval/recsys_eval.py:480-496 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/eval/recsys_eval.py:461\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":"phoenix/xrex/eval/recsys_eval.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c177e13a643fc41899c64be80a7a9a5d3e539985c43b1fd3dbb60cae8067b7ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): phoenix/xrex/pallas/attention.py:151-167 | phoenix/xrex/pallas/attention.py:230-246 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/pallas/attention.py:151\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":"phoenix/xrex/pallas/attention.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e496289bca73cfb11ef46d938ed8772b6ca76e88d7bc530c114dd15badb3ae62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_varlen.py:234-250 | phoenix/xrex/pallas/ranker_attention_varlen.py:258-272 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:234\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":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad0724a10163e5e8cf3d6d2b09e856821d8575aff9377802b2aba43b3c660e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): grox/flows/mm_emb/renderer_v82.py:352-367 | grox/flows/mm_emb/renderer_v8_search.py:439-454 \u2014 before extracting anything, compare \u0060grox/flows/mm_emb/renderer_v82.py\u0060 and \u0060grox/flows/mm_emb/renderer_v8_search.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 176 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 \u0060grox/flows/mm_emb/renderer_v82.py:352\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":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dabf5241f18f1918b09032b7f291081426b606cfb8d45f713591070cfe29fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): phoenix/xrex/configs/xrecsys.py:171-186 | phoenix/xrex/configs/xrecsys_two_tower.py:184-199 \u2014 before extracting anything, compare \u0060phoenix/xrex/configs/xrecsys.py\u0060 and \u0060phoenix/xrex/configs/xrecsys_two_tower.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/xrex/configs/xrecsys_two_tower.py:183\u0060 calls \u0060get\u0060 and \u0060phoenix/xrex/configs/xrecsys.py:170\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/xrecsys.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87e6bd054d6014f08b19f93ae16d37a85d08740a36c91fea80a6004a6214796"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): phoenix/xrex/data/recsys/recsys_batch.py:1895-1910 | phoenix/xrex/data/recsys/recsys_batch.py:2232-2247 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/data/recsys/recsys_batch.py:1895\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":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1895}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d2e877df2401db45510ad53b4dd039609c09ba8d02d9b53cede11ace854fc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:1897-1912 | phoenix/xrex/models/recsys_model.py:1917-1932 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/models/recsys_model.py:1897\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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":1897}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50beb114989631eafe6768505ef35571e369490f226068727ae4bcf19cf6f87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_varlen.py:265-280 | phoenix/xrex/pallas/ranker_attention_varlen.py:778-793 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:265\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":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd03cc6bfd365bed246734deee892201505b70b64755bf5a67572292aadb611"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): grox/flows/mm_emb/renderer_v82.py:324-338 | grox/flows/mm_emb/renderer_v8_search.py:413-427 \u2014 before extracting anything, compare \u0060grox/flows/mm_emb/renderer_v82.py\u0060 and \u0060grox/flows/mm_emb/renderer_v8_search.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 176 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":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a2b259eb1da5bf514273629479c7a23e8df823da996b343bed710d081c3705"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): grox/flows/reply_spam/classifier_coordinated_spam.py:205-219 | grox/flows/reply_spam/classifier_multi_step_reply_spam.py:209-223 \u2014 before extracting anything, compare \u0060grox/flows/reply_spam/classifier_coordinated_spam.py\u0060 and \u0060grox/flows/reply_spam/classifier_multi_step_reply_spam.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060grox/flows/reply_spam/classifier_coordinated_spam.py:205\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":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2256b8bc2ee3bb7945e91a5ff7baecde876452dd482a322b222fa219b640cf53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): grox/libs/kafka_cli/producer.py:66-80 | grox/libs/kafka_cli/producer.py:148-162 \u2014 both copies are in the same file, so extract the block 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 \u0060grox/libs/kafka_cli/producer.py:66\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c39e2fe6ce13fc7f49ce41639cdcfbd1f6d317da11806621cb2daa0864ddd2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_attention_fa4.py:209-223 | phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:481-495 \u2014 before extracting anything, compare \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py\u0060 and \u0060phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 258 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 \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py:209\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"9628abc842f6314ce0723afeeee642174f6d6ed773b41ee1776eb264fcf16d9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): phoenix/xrex/inference/model_runner.py:4158-4172 | phoenix/xrex/inference/model_runner.py:5129-5141 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/inference/model_runner.py:4158\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":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e835ac49c0fcd0568354825b6491033a04c37e523b2cc0521f534c1240f32504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): phoenix/xrex/inference/model_runner.py:4254-4268 | phoenix/xrex/inference/model_runner.py:5378-5392 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4254}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bc21dc0f148bd943e7ab81446ec4dbc1775b18b3ed8d1f56d4e1c26f1d869b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): phoenix/xrex/models/recsys_feature_prep.py:807-822 | phoenix/xrex/models/recsys_model.py:1853-1868 \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 \u0060phoenix/xrex/models/recsys_feature_prep.py:807\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":"phoenix/xrex/models/recsys_feature_prep.py"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb2c283abac289d8deb58aecba98c45753be3e4364e72e948f9a71e0d6d88c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:2078-2092 | phoenix/xrex/models/recsys_model.py:2188-2202 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":2078}}}],"partialFingerprints":{"codehealthFindingId/v1":"664789cfa37969a6a19887e5042e282b2070859bb24be6ceb8d0ffad7d3b5271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_varlen.py:769-782 | phoenix/xrex/pallas/ranker_attention_varlen.py:910-924 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:769\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":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44780ffb397cb84f57e1534e7c562449bc7eb6986340ee7eb850de4e2c87a8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): grox/flows/mm_emb/renderer_v82.py:54-67 | grox/flows/mm_emb/renderer_v8_search.py:69-82 \u2014 before extracting anything, compare \u0060grox/flows/mm_emb/renderer_v82.py\u0060 and \u0060grox/flows/mm_emb/renderer_v8_search.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 176 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":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6bb0cf1e23818ff3a6bbcae8d942725597e3b87342d20fcc8671e476980aa8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): grox/flows/mm_emb/renderer_v82.py:299-312 | grox/flows/mm_emb/renderer_v8_search.py:354-367 \u2014 before extracting anything, compare \u0060grox/flows/mm_emb/renderer_v82.py\u0060 and \u0060grox/flows/mm_emb/renderer_v8_search.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 176 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 \u0060grox/flows/mm_emb/renderer_v82.py:299\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"46da1bddf5020e8ec8bf516851c1e9091c8d2e55b01f6b5cf214d0028095fc86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): grox/libs/embed/embed_http.py:173-186 | grox/libs/embed/embed_http.py:224-237 \u2014 both copies are in the same file, so extract the block 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":"grox/libs/embed/embed_http.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"214bc946cd4899b7a235af4e0da3600484b4da804b39c057923d3b664299cf2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): phoenix/xrex/configs/xrecsys.py:77-90 | phoenix/xrex/configs/xrecsys_two_tower.py:71-84 \u2014 before extracting anything, compare \u0060phoenix/xrex/configs/xrecsys.py\u0060 and \u0060phoenix/xrex/configs/xrecsys_two_tower.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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 \u0060phoenix/xrex/configs/xrecsys.py:77\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/xrecsys.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8109130b39c6c2b541ba6c2871d26d017488eefc27624fdb969d1f5deb66de46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): phoenix/xrex/configs/xrecsys.py:717-730 | phoenix/xrex/data/recsys/recsys_batch.py:2515-2528 \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 \u0060phoenix/xrex/configs/xrecsys.py:717\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":"phoenix/xrex/configs/xrecsys.py"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48147d4290f06960305bc5694aad8be7ead7b27f1ec05c106d8a38c707b4367"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): phoenix/xrex/data/recsys/recsys_batch.py:1798-1811 | phoenix/xrex/data/recsys/recsys_batch.py:2145-2158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/xrex/data/recsys/recsys_batch.py:1797\u0060 calls \u0060get\u0060 and \u0060phoenix/xrex/data/recsys/recsys_batch.py:2144\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":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bf0e8724ed4075e62fa80624ec339d9e33b18805aa7f8303482b1c529c8d5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): phoenix/xrex/data/recsys/recsys_batch.py:2030-2043 | phoenix/xrex/data/recsys/recsys_batch.py:2050-2063 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"7376c7392c5db91ceec937669d6169324f741636eb5a80891eba76d451df63b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): phoenix/xrex/data/streaming/kafkaconsumer.py:891-904 | phoenix/xrex/data/streaming/kafkaconsumer.py:1600-1613 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/xrex/data/streaming/kafkaconsumer.py:1614\u0060 calls \u0060force_kafka_metadata_update\u0060 and \u0060phoenix/xrex/data/streaming/kafkaconsumer.py:905\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":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb2d8d08f392862884754aa1d6e8d04dc569e01123a844e4a241541e1a89b5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201314 lines \u00D7 3): phoenix/xrex/eval/metrics_recsys.py:135-138 | phoenix/xrex/eval/metrics_recsys.py:297-310 | phoenix/xrex/eval/metrics_recsys.py:391-404 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/metrics_recsys.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12a2c060a00b248a7b2c713d1d6b7fccb4421f8166059b1abc8cf562e58ea22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): phoenix/xrex/eval/recsys_eval.py:439-452 | phoenix/xrex/eval/recsys_eval.py:454-467 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/eval/recsys_eval.py:439\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":"phoenix/xrex/eval/recsys_eval.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca39ddfa4b203a0eb5e166a141ef2361554a7e8117b5e51236586361be1414b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:2209-2222 | phoenix/xrex/models/recsys_model.py:2225-2236 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cebbe1624f0a90dced73eebf744fb9f584adc4de4e0ba963993235b9a6b07df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_fa3.py:294-307 | phoenix/xrex/pallas/ranker_attention_fa3.py:1078-1091 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/pallas/ranker_attention_fa3.py:294\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":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c871a404f99134293d5a36014ac8c6f3eb7f67892b7251d63415883ad41117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_fa3.py:664-676 | phoenix/xrex/pallas/ranker_attention_fa3.py:894-907 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/pallas/ranker_attention_fa3.py:894\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":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e41b960db54854932060af6f03421cf7da8113def4efcbd2706662d6e668f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:724-737 | phoenix/xrex/pallas/ranker_attention_varlen.py:819-832 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:833\u0060 calls \u0060div\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_v2.py:739\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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"dddb8e845af364483c8567659d0ef78c4a00a0ece64a9783678b5b8223bbab7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:718-731 | phoenix/xrex/pallas/ranker_attention_v2.py:850-860 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/xrex/pallas/ranker_attention_v2.py:849\u0060 calls \u0060load\u0060, \u0060ds\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_v2.py:717\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71d4eb2722c7e4227bbcd08fe663988ab00bdf1199c8c3586ac959f0e638a3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): bdsm/runtime/gizmoduck_age.py:77-88 | bdsm/runtime/login_starter_pack_counter.py:90-102 | bdsm/runtime/starter_pack_follows.py:85-97 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/gizmoduck_age.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"1327ad303b3ccf915fc569d591431446abfeff1a86fcc29cdb4f93fbf7c19ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): grox/flows/reply_spam/task_filter.py:122-134 | grox/flows/reply_spam/task_filter.py:199-211 | grox/flows/reply_spam/task_multi_step_reply_spam.py:55-67 \u2014 before extracting anything, compare \u0060grox/flows/reply_spam/task_filter.py\u0060 and \u0060grox/flows/reply_spam/task_multi_step_reply_spam.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 112 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 \u0060grox/flows/reply_spam/task_filter.py:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c120335bf8a0dad69d0fe833b9309a76698fffdf7ec6b45deeefbdefff858192"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): grox/flows/mm_emb/task_write_mm_embedding_sink.py:66-78 | grox/flows/mm_emb/task_write_mm_embedding_sink.py:99-111 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_write_mm_embedding_sink.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba2e74d49bed2913fb35491ee652fd2dba6428421508e73a1337f07b722a4eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): grox/flows/ptos/classifier.py:259-271 | grox/flows/ptos/classifier.py:300-312 \u2014 both copies are in the same file, so extract the block 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 \u0060grox/flows/ptos/classifier.py:259\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":"grox/flows/ptos/classifier.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bbd54bfc584fbfd0124cb175aaaadd67587836bf6d47b4fbf005269bcbf60e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix/reference/sid_codebook.py:246-258 | phoenix/reference/sid_codebook.py:634-646 \u2014 both copies are in the same file, so extract the block 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":"phoenix/reference/sid_codebook.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"03dccc94d5924f50f4399a66a8aaa9dafd2a41355656b1aea58cb3d3a6c9273b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix/xrex/configs/data_feeds.py:276-288 | phoenix/xrex/configs/data_feeds.py:312-324 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/data_feeds.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae82043333679ecd667d4349506a6499660094972fc7356ecf7bcf84a01fe2ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_attention_fa4.py:664-676 | phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:808-820 \u2014 before extracting anything, compare \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py\u0060 and \u0060phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 258 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 \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py:664\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":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"204cd162a963c2ec4f180769f77cf841a4cd9a035e2f45a5a6affef833ae2c84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:1963-1975 | phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:2346-2358 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e5481f84795821eb231cf98c8b96ba61bfd8958a6ff63746b352833b4b8b8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): phoenix/xrex/data/streaming/kafkaconsumer.py:1439-1449 | phoenix/xrex/data/streaming/kafkaconsumer.py:1955-1967 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/data/streaming/kafkaconsumer.py:1439\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":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1439}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff4b986765a8f03fa8b9daa7960842cd6d52cf93d68eeb428d21e6818a7eb9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix/xrex/inference/h2d.py:114-126 | phoenix/xrex/inference/h2d.py:169-181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060path\u0060 to \u0060str | None = None\u0060 in one and \u0060str\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"97351b36342fad1bbd966f3f0ee84d8b18a4447694e6ffa8e196705c1a4fd8d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:2314-2324 | phoenix/xrex/models/recsys_model.py:2329-2341 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":2314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c482d6f4df9afa8923b0628a788ae13046670b80a132194567fd320750d9f12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:4934-4946 | phoenix/xrex/models/recsys_model.py:5831-5843 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":4934}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8bfb7d8c7b73da55108589fc516e249efe1561c02aedeac736124df9cd0357"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): phoenix/xrex/models/transformer.py:524-537 | phoenix/xrex/models/transformer.py:572-583 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/models/transformer.py:524\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/transformer.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8774eea047a63957677ae38be0f5f3996c79d7bfd342e7fb147a12b6bafbfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_fa3.py:122-134 | phoenix/xrex/pallas/ranker_attention_fa3.py:1270-1282 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/xrex/pallas/ranker_attention_fa3.py:1268\u0060 calls \u0060axis_index\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_fa3.py:121\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6a984364e3ed3d020b975727404e24abea82e6dcd034065a497f995654ea2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_fa3.py:372-384 | phoenix/xrex/pallas/ranker_attention_fa3.py:1529-1541 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/pallas/ranker_attention_fa3.py:372\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"32348886021ce815e5117c4a16017b4e8e74ff4baf2fd68c14f1d6d267088233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_varlen.py:228-240 | phoenix/xrex/pallas/ranker_attention_varlen.py:727-739 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:228\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":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8769a3df2a38934a8613f531efdff8fe50ed80e9fd139a5a0700d10303ac4671"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): phoenix/xrex/pallas/ranker_attention_v2.py:691-702 | phoenix/xrex/pallas/ranker_attention_v2.py:818-829 | phoenix/xrex/pallas/ranker_attention_varlen.py:789-800 | phoenix/xrex/pallas/ranker_attention_varlen.py:962-973 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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, \u0060phoenix/xrex/pallas/ranker_attention_v2.py:831\u0060 calls \u0060load\u0060, \u0060dslice\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:975\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"544eccdd25d006a96a5a09fc176aa61d5221d60f105413a0fe37b5985289d6d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:1651-1662 | phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:1962-1973 | phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:2345-2356 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"7697a55cab670d926d91eb1d22c96d0e7fc3fb2d2490cb070066a89fce007c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): grox/flows/mm_emb/task_write_mm_embedding_sink.py:80-91 | grox/flows/mm_emb/task_write_mm_embedding_sink.py:113-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 \u0060grox/flows/mm_emb/task_write_mm_embedding_sink.py:80\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":"grox/flows/mm_emb/task_write_mm_embedding_sink.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1ac04e55fa9d5da1cc1f505b9a6cc4c854f5514c6a4f5500cc420a38e878cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): grox/flows/mm_emb/task_write_mm_embedding_sink.py:173-184 | grox/flows/mm_emb/task_write_mm_embedding_sink.py:208-219 \u2014 both copies are in the same file, so extract the block 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":"grox/flows/mm_emb/task_write_mm_embedding_sink.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2a7f4be399cf717880377c4a8f1ce91432a3576948dc484a946d4b6793a683"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): grox/flows/upa/classifier_banger_initial_screen_gemma.py:72-83 | grox/flows/upa/classifier_post_safety_screen_deluxe.py:35-43 \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 \u0060grox/flows/upa/classifier_banger_initial_screen_gemma.py: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. 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":"grox/flows/upa/classifier_banger_initial_screen_gemma.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"522bc1a12948aeb10ccfb713a2f4539f669930443362f33a93e5dbd0e9d7c6fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): grox/libs/kafka_cli/producer.py:117-128 | grox/libs/kafka_cli/producer.py:193-204 \u2014 both copies are in the same file, so extract the block 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":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"120c4708c2fcf9f1edad9d0c31efc05c1ffdc5f45063371401eaf9df3b787422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): phoenix/xrex/data/parquet_recsys.py:2738-2749 | phoenix/xrex/data/parquet_recsys.py:2773-2784 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/data/parquet_recsys.py:2738\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2738}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bed54d5f0e8af9d404b8470f20002a635c0157009423de908f562765b850aff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): phoenix/xrex/data/recsys/recsys_batch.py:1076-1087 | phoenix/xrex/data/recsys/recsys_batch.py:1089-1100 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/data/recsys/recsys_batch.py:1076\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":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bb73fe4c3c62d36bf2034606c9abe52d32b2c2744691146c9a97e396399877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201312 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:2301-2308 | phoenix/xrex/models/recsys_model.py:2324-2335 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/xrex/models/recsys_model.py:2336\u0060 calls \u0060zeros\u0060 and \u0060phoenix/xrex/models/recsys_model.py:2309\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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":2301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce10830968519836d80423e959430ffb3389686ffffbaf849f0e3b917a95892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:4309-4319 | phoenix/xrex/models/recsys_model.py:4466-4477 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/models/recsys_model.py:4309\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":4309}}}],"partialFingerprints":{"codehealthFindingId/v1":"75085b62b0dcdda913c7619b48f3db3bf44a498a194543b2b9fab98df83bce42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:489-500 | phoenix/xrex/pallas/ranker_attention_varlen.py:453-466 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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 \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:453\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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"638a75ce9b33e288dcbd6fe88649712dd79e8cc5a8b00016573a190fb3bc02e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:837-848 | phoenix/xrex/pallas/ranker_attention_varlen.py:979-990 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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, \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:977\u0060 calls \u0060logical_and\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_v2.py:835\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d6cbc6285daf59dcd4d081463680f3c62a99678df3e0e306fad66133392a16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_varlen.py:815-826 | phoenix/xrex/pallas/ranker_attention_varlen.py:992-1001 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:991\u0060 calls \u0060load\u0060, \u0060ds\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:814\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad07d79566251c31498d047cd12a6ecf989fff1182e3ae1c2575d102c1e9461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): phoenix/xrex/train/trainer.py:667-678 | phoenix/xrex/train/trainer.py:692-703 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/train/trainer.py:667\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":"phoenix/xrex/train/trainer.py"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da1a14879fdf4034574c703bf37ffd91af8178d801c269967bc3bcfd70b3ff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): phoenix/xrex/train/trainer_recsys.py:1746-1757 | phoenix/xrex/train/trainer_recsys.py:1762-1773 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c339c8869049b79a4f247ee6f2c0b48836f913996fccfd415b3a37fae4f895"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): grox/flows/reply_spam/classifier_coordinated_spam.py:141-151 | grox/flows/reply_spam/classifier_multi_step_reply_spam.py:145-155 | grox/flows/reply_spam/classifier_reply_ranking.py:97-107 | grox/flows/reply_spam/classifier_simple_reply_scorer.py:75-85 \u2014 before extracting anything, compare \u0060grox/flows/reply_spam/classifier_coordinated_spam.py\u0060 and \u0060grox/flows/reply_spam/classifier_multi_step_reply_spam.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 91 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5be5898a06d90acaf4e6a24f61149c6c515d3379e616fc04f44c1eb24bf497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u201311 lines \u00D7 4): phoenix/xrex/pallas/ranker_attention_varlen.py:738-743 | phoenix/xrex/pallas/ranker_attention_varlen.py:746-751 | phoenix/xrex/pallas/ranker_attention_varlen.py:916-926 | phoenix/xrex/pallas/ranker_attention_varlen.py:954-959 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:916\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:744\u0060 calls \u0060load\u0060, \u0060ds\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:915\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":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6f7611f10ca3a09844e268d7b692bdd249f3f41c9442507fc24b82a4582fea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): phoenix/xrex/pallas/ranker_attention_fa3.py:172-182 | phoenix/xrex/pallas/ranker_attention_fa3.py:300-310 | phoenix/xrex/pallas/ranker_attention_fa3.py:1084-1094 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"46be64346f95869040548911d27837d04eb679dc3b52683269d568b449f451d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): phoenix/xrex/pallas/ranker_attention_v2.py:137-145 | phoenix/xrex/pallas/ranker_attention_v2.py:243-252 | phoenix/xrex/pallas/ranker_attention_varlen.py:295-305 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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 \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:295\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"864c9d710add477a97c5a5b68562eb71b4f8d9a321fce98a73ce75cd219d1c4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): phoenix/xrex/pallas/ranker_attention_varlen.py:735-743 | phoenix/xrex/pallas/ranker_attention_varlen.py:766-776 | phoenix/xrex/pallas/ranker_attention_varlen.py:907-917 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:766\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:905\u0060 calls \u0060zeros\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:733\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":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f3a22a24cdcd99e3b35963f3571fd039cf2778038074b848731eb848e883be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): bdsm/runtime/sequence_cache.py:54-64 | bdsm/runtime/sequence_cache.py:83-93 \u2014 both copies are in the same file, so extract the block 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":"bdsm/runtime/sequence_cache.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2e3ca3416f6f822221b8fac54e099a3ac3dddefc47659923537e8403dbe179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): grox/flows/ptos/classifier.py:173-183 | grox/flows/ptos/classifier.py:728-738 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f676d1dbe9eba0bdf74391d1c83c1a47ad2010f96a7d25979ee97b05e011b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): phoenix/xrex/cuda/async_emb/comm_utils.py:29-39 | phoenix/xrex/cuda/row_emb/comm_utils.py:29-39 \u2014 \u0060phoenix/xrex/cuda/async_emb/comm_utils.py\u0060 and \u0060phoenix/xrex/cuda/row_emb/comm_utils.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 24 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/async_emb/comm_utils.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce73eac48bca4c94fa56b8fa63417856ade0c257a4ba49a5e249ba2654d7f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:2318-2333 | phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:2764-2779 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:2318\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:2763\u0060 calls \u0060const_expr\u0060 and \u0060phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:2316\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":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":2318}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7773efd7bce25acffb7872f418b701ef73b3f7b62f6a3c46f0459ef2f6d9a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): phoenix/xrex/data/recsys/recsys_batch.py:1854-1864 | phoenix/xrex/data/recsys/recsys_batch.py:2190-2200 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/data/recsys/recsys_batch.py:1854\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":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1854}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f6da8f3113f7d5f7f788e1de857ed05f302d918ebf8121969a4f8edc51555a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): phoenix/xrex/inference/model_runner.py:2369-2379 | phoenix/xrex/inference/model_runner.py:2524-2532 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a1f011566da1a0b357476a32350dce37afb5c4df79b83902db74dfbaaffe05a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 2): phoenix/xrex/inference/model_runner.py:4105-4115 | phoenix/xrex/inference/model_runner.py:5019-5027 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/inference/model_runner.py:4105\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":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4105}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d86cc7921fe3ca881991faa6aeca5c13c80761303dd1ae12f99baca48fc745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_fa3.py:89-110 | phoenix/xrex/pallas/ranker_attention_fa3.py:1019-1040 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/pallas/ranker_attention_fa3.py:89\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/xrex/pallas/ranker_attention_fa3.py:1016\u0060 calls \u0060NotImplementedError\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_fa3.py:88\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"31041e80c82b7e5d373d0045c711360fa799bb7fa9edda2a50026dee7794d606"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:744-754 | phoenix/xrex/pallas/ranker_attention_varlen.py:842-851 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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 \u0060phoenix/xrex/pallas/ranker_attention_v2.py:744\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, \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:841\u0060 calls \u0060minimum\u0060, \u0060fori_loop\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_v2.py:744\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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a61da1308b93f4e18a7bf597902bfcc625fd148afa45129888b69919894e229"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:854-864 | phoenix/xrex/pallas/ranker_attention_varlen.py:995-1005 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:1006\u0060 calls \u0060div\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_v2.py:866\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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6075dfa233e2180aac8fd3de30ccd3dc23c4889bef7bb3a3738834667b0df5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): phoenix/xrex/train/trainer.py:415-425 | phoenix/xrex/train/trainer_recsys.py:1519-1529 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b5d3a62366d79fb458dcc9f870b336f9b0897c540983c7a457200e92efa561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): grox/flows/mm_emb/renderer_v82.py:165-175 | grox/flows/mm_emb/renderer_v8_search.py:181-190 | grox/flows/mm_emb/renderer_v8_search.py:209-218 \u2014 before extracting anything, compare \u0060grox/flows/mm_emb/renderer_v82.py\u0060 and \u0060grox/flows/mm_emb/renderer_v8_search.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 176 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, \u0060grox/flows/mm_emb/renderer_v8_search.py:220\u0060 calls \u0060_quoted_block\u0060 and \u0060grox/flows/mm_emb/renderer_v82.py:177\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0af5cf99df8bf04eedcb136b9224256d90ff9d4d491e75ea8f5e522a6cd6985"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): phoenix/xrex/data/recsys/recsys_batch.py:1835-1844 | phoenix/xrex/data/recsys/recsys_batch.py:1859-1868 | phoenix/xrex/data/recsys/recsys_batch.py:2164-2173 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/data/recsys/recsys_batch.py:1835\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, \u0060phoenix/xrex/data/recsys/recsys_batch.py:2173\u0060 calls \u0060zeros\u0060 and \u0060phoenix/xrex/data/recsys/recsys_batch.py:1844\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"837c04359882cc5ba83f2ecc5f90b589e5b0987930541366c1c9c9910aeb4892"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): phoenix/xrex/models/transformer.py:296-305 | phoenix/xrex/models/transformer.py:316-325 | phoenix/xrex/models/transformer.py:328-337 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/models/transformer.py:296\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":"phoenix/xrex/models/transformer.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"469441d75007eacf048fed824529848ca66d0a6e05bf031839c6769556159c7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): phoenix/xrex/pallas/attention.py:638-647 | phoenix/xrex/pallas/ranker_attention_v2.py:1029-1038 | phoenix/xrex/pallas/ranker_attention_varlen.py:1226-1235 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/attention.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 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 \u0060phoenix/xrex/pallas/attention.py:638\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":"phoenix/xrex/pallas/attention.py"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad831a8295935bff35d6ec452b4b01ae9f5f8e4e0ad3dbd312e2f7cae7a4d83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): phoenix/xrex/pallas/ranker_attention_varlen.py:733-743 | phoenix/xrex/pallas/ranker_attention_varlen.py:765-774 | phoenix/xrex/pallas/ranker_attention_varlen.py:934-943 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:744\u0060 calls \u0060load\u0060, \u0060ds\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:775\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":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2da03073a2be25ed2a86497873d7640ab9f00a43131ed1dadf40b7ebb3ed71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bdsm/runtime/gizmoduck_age.py:62-71 | bdsm/runtime/login_starter_pack_counter.py:73-82 \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 \u0060bdsm/runtime/gizmoduck_age.py:62\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/gizmoduck_age.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"55044ae5ffdfe84b6965cc53f8a407f911587387ca2d2d3890921e3245a0cc8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): grox/flows/mm_emb/renderer.py:185-194 | phoenix/reference/mm_encoder.py:239-248 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f7841b25407ea492bdb60030f1988557204cbbdc641bd69e933b3412f814df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): grox/flows/reply_spam/task_filter.py:23-32 | grox/flows/reply_spam/task_filter.py:191-200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bed2878a4b2ae903f0d0301620bdf540beaa7c8c9ec0c0bffa58b59202d46e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): grox/flows/reply_spam/task_filter.py:50-59 | grox/flows/reply_spam/task_filter.py:225-234 \u2014 both copies are in the same file, so extract the block 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 \u0060grox/flows/reply_spam/task_filter.py:50\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e9d031e8bce56656daa555e5afb67849be2879323f0d5634e334b538cfc5c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): phoenix/reference/world_snapshots.py:145-158 | phoenix/reference/world_snapshots.py:171-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/reference/world_snapshots.py:144\u0060 calls \u0060astype\u0060 and \u0060phoenix/reference/world_snapshots.py:170\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":"phoenix/reference/world_snapshots.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad5ab4e85e4888c565368b052da4cb52aaececec20abcc041def4a59482bf47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/xrex/configs/data_feeds.py:125-134 | phoenix/xrex/configs/data_feeds.py:193-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/xrex/configs/data_feeds.py:136\u0060 calls \u0060get\u0060 and \u0060phoenix/xrex/configs/data_feeds.py:204\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/data_feeds.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa774ab41f485a22a92c09f0d4a5f7618c7fbc5dc2ccaebb80555ddd0fbe6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/xrex/configs/data_feeds.py:343-352 | phoenix/xrex/configs/xrecsys_two_tower.py:233-242 \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":"phoenix/xrex/configs/data_feeds.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"10aaee93a260adfef3527e2637887899ece58804f20519ecc45cbd69b00e3215"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/xrex/cuda/async_emb/async_emb.py:165-174 | phoenix/xrex/cuda/row_emb/row_emb.py:171-180 \u2014 \u0060phoenix/xrex/cuda/async_emb/async_emb.py\u0060 and \u0060phoenix/xrex/cuda/row_emb/row_emb.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 72 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ctx\u0060 to \u0060AsyncEmbContextHandle\u0060 in one and \u0060RowEmbContextHandle\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/async_emb/async_emb.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"33493b207460fab89b3877fa6384dad6344ce69bd3d68e4dab49e8c40c04cb60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/xrex/models/recsys_attention.py:199-208 | phoenix/xrex/models/recsys_attention.py:253-262 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_attention.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1d44eb2d7e698e32ddf44d006959e088be85b1af0bbdf0644fd70fb0f737a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:2114-2123 | phoenix/xrex/models/recsys_model.py:2218-2229 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/models/recsys_model.py:2114\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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":2114}}}],"partialFingerprints":{"codehealthFindingId/v1":"26309a9a5556f2384b9861bc2a0b88105e5322ed9f24c1b4e6433ab2393248c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/xrex/pallas/attention.py:91-100 | phoenix/xrex/pallas/attention.py:422-431 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/pallas/attention.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5610e59c309b800b665664ecff32a292ce37dbb0c16b2dc6995db8fdedfb495"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_fa3.py:956-965 | phoenix/xrex/pallas/ranker_attention_fa3.py:979-988 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/pallas/ranker_attention_fa3.py:956\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":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f3b60c01a05989a62df092d494770c50bda1071a306499caf2d349f911c5fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:118-127 | phoenix/xrex/pallas/ranker_attention_varlen.py:276-285 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b9646fe7abe4ddbd90e8909f8613e93d8c3201082ba7be3fd30dbd108434ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): phoenix/xrex/train/trainer_recsys.py:1867-1876 | phoenix/xrex/train/trainer_recsys.py:2293-2300 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/train/trainer_recsys.py:1867\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/xrex/train/trainer_recsys.py:1878\u0060 calls \u0060prod\u0060 and \u0060phoenix/xrex/train/trainer_recsys.py:2302\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":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea757315d9452a7fce211a9fb6f09e05b0d77bca58f06e75ef935b3b131bd9f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): phoenix/xrex/pallas/ranker_attention_v2.py:722-731 | phoenix/xrex/pallas/ranker_attention_v2.py:852-860 | phoenix/xrex/pallas/ranker_attention_varlen.py:817-826 | phoenix/xrex/pallas/ranker_attention_varlen.py:993-1001 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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, \u0060phoenix/xrex/pallas/ranker_attention_v2.py:849\u0060 calls \u0060load\u0060, \u0060ds\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_v2.py:717\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f7f6138ce73d64df4cfcda6dc5f6704b8cccc36765df1936be00b5432b7548"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): grox/flows/mm_emb/embedder.py:75-83 | grox/flows/mm_emb/embedder_v82.py:81-89 | grox/flows/mm_emb/embedder_v8_search.py:74-82 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/embedder.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2db08eabbf67502be1b5efc231681252500f536b67283eb3d26ed98f5660a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): phoenix/xrex/configs/data_feeds.py:127-135 | phoenix/xrex/configs/data_feeds.py:162-170 | phoenix/xrex/configs/data_feeds.py:195-203 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/xrex/configs/data_feeds.py:136\u0060 calls \u0060get\u0060 and \u0060phoenix/xrex/configs/data_feeds.py:204\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/data_feeds.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2600f82b4e4d1e964090e249e1124800b365925cd75e1c5d9a67c6a9c97a561"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): phoenix/xrex/configs/xrecsys.py:173-181 | phoenix/xrex/configs/xrecsys_two_tower.py:186-194 | phoenix/xrex/data/recsys/recsys_batch.py:2505-2513 \u2014 before extracting anything, compare \u0060phoenix/xrex/configs/xrecsys.py\u0060 and \u0060phoenix/xrex/configs/xrecsys_two_tower.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 58 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, \u0060phoenix/xrex/configs/xrecsys_two_tower.py:183\u0060 calls \u0060get\u0060 and \u0060phoenix/xrex/configs/xrecsys.py:170\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/xrecsys.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"72154be7dd4746f82dc74b5efe294a40ab919b870e00dfa480e47ef4b1166ed4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 3): phoenix/xrex/models/recsys_model.py:2213-2221 | phoenix/xrex/models/recsys_model.py:2228-2235 | phoenix/xrex/models/recsys_model.py:3386-3393 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/models/recsys_model.py:2213\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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":2213}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91da0e18ceb58ece79dc4eab74cffed1b16fa57fc2eeb129ec36d232343ce50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/xrex/data/parquet_recsys.py:2792-2800 | phoenix/xrex/data/parquet_recsys.py:2951-2959 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2792}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb72c8866abab6b5f0b671ca9acac0c1e5fe3425f7b87229f743b143b4255ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): phoenix/xrex/data/recsys/recsys_batch.py:1180-1190 | phoenix/xrex/data/recsys/recsys_batch.py:1209-1219 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/data/recsys/recsys_batch.py:1180\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":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6baa969a12dd4fd848377895b50a28f12391300ca66d53925dd83b8672231a8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/xrex/data/recsys/recsys_batch.py:1929-1937 | phoenix/xrex/data/recsys/recsys_batch.py:2301-2309 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/data/recsys/recsys_batch.py:1929\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":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdb777d0434d6ce924164747bae04c33b2409b2a4f43c3a37a0f6cb02bd9366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/xrex/inference/model_runner.py:1502-1510 | phoenix/xrex/inference/model_runner.py:2050-2058 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/xrex/inference/model_runner.py:2060\u0060 calls \u0060_on_post_hotswap\u0060, \u0060time\u0060, \u0060observe\u0060 and \u0060phoenix/xrex/inference/model_runner.py:1511\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b2673aee40ee6e240ff5878929299d131afcd7d59c0297d425ea21e277a6c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): phoenix/xrex/models/recsys_attention.py:21-27 | phoenix/xrex/models/recsys_attention.py:92-100 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"phoenix/xrex/models/recsys_attention.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"686bfa3198a0a06e09c1dd8e54769f6e20275cadda38158367680c4fc47a8f3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/xrex/models/recsys_feature_prep.py:853-861 | phoenix/xrex/models/recsys_model.py:1934-1942 \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 \u0060phoenix/xrex/models/recsys_feature_prep.py:853\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":"phoenix/xrex/models/recsys_feature_prep.py"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"b613e3cf1be869d9e26365648de14ced3895ed8fca7854491e19b67e3fa534f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:4267-4275 | phoenix/xrex/models/recsys_model.py:4444-4452 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":4267}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f03ddb9baf1d3c5c4b5be1115c7b1f68aa4e8d2c208caddc3455b07b130a39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:5441-5449 | phoenix/xrex/models/recsys_model.py:5456-5464 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":5441}}}],"partialFingerprints":{"codehealthFindingId/v1":"2063b1164659f3248adce9f986148f8daafee7b1423a24212990da9b5a6f7842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): phoenix/xrex/pallas/attention.py:64-72 | phoenix/xrex/pallas/attention.py:401-407 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/pallas/attention.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bf57e4c392af2994aefc65ffcc6eb0a0dc31e16b97910ebc1df204c40e4623"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_fa3.py:229-238 | phoenix/xrex/pallas/ranker_attention_fa3.py:1357-1366 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3ea57b264ece7400906959ceb66ff2e82e60142a25f5d64e26252e23687c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:117-125 | phoenix/xrex/pallas/ranker_attention_v2.py:231-239 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"05909b8306263e762d02eaed81dea030d33bec7c314cabb16e4d386277605110"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:709-718 | phoenix/xrex/pallas/ranker_attention_varlen.py:806-815 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da84b259158a0b51c2a054f7e0db321a0d22c4758d535213d24bf58f415ea85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): phoenix/xrex/models/recsys_model.py:1770-1777 | phoenix/xrex/models/recsys_model.py:1937-1944 | phoenix/xrex/models/recsys_model.py:3363-3370 | phoenix/xrex/models/recsys_model.py:3384-3391 | phoenix/xrex/models/recsys_sid.py:176-183 \u2014 there are 5 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 5 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9872c4797c1839d2b40f7b7df90d0f376d03f6df4e95ff7d6b08f119d5756c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): grox/libs/kafka_cli/consumer.py:85-92 | grox/libs/kafka_cli/producer.py:56-63 | grox/libs/kafka_cli/producer.py:136-143 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b481c9c2860f3160239257a856a7698174afb023df14d767551b5876570aa32b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20138 lines \u00D7 3): phoenix/xrex/pallas/attention.py:65-72 | phoenix/xrex/pallas/attention.py:402-407 | phoenix/xrex/pallas/attention.py:495-500 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/attention.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"212308b92feea8a4535a4a4fd4e07c636c9a8aaa8b7ecdf6c69db873202d3e41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): phoenix/xrex/pallas/ranker_attention_varlen.py:226-234 | phoenix/xrex/pallas/ranker_attention_varlen.py:725-733 | phoenix/xrex/pallas/ranker_attention_varlen.py:895-903 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:222\u0060 calls \u0060full\u0060, \u0060zeros\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:723\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93e6f5c671aad95200a017f56155409b5214f4094679b115de869d3c0d22423"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): phoenix/xrex/pallas/ranker_attention_varlen.py:1551-1558 | phoenix/xrex/pallas/ranker_attention_varlen.py:1705-1712 | phoenix/xrex/pallas/ranker_attention_varlen.py:1806-1813 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"057d69914e1750fc013aa226c6612d3a3ba242647489c44b571a803f08b0b295"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): grox/core/data_loaders/asr_processor.py:374-381 | grox/core/data_loaders/media_processor.py:201-208 \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":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"747866121e701b6e37ebb6410cdfd4e078c03ab206469696fff4abdabe043fa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): grox/core/data_loaders/data_types.py:361-368 | grox/core/data_loaders/data_types.py:445-452 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/data_types.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"953b0f8f317cf97c94c083681b4b4180ea17d4ec7299e445007a14bc313fbce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): grox/flows/mm_emb/embedder_v82.py:35-42 | grox/flows/mm_emb/embedder_v8_search.py:45-52 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/embedder_v82.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e99e2b378db7d185a9029b874800c0a793b65cbf196a93a302e837983fdf40a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): grox/flows/ptos/classifier.py:273-279 | grox/flows/ptos/classifier.py:317-324 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060grox/flows/ptos/classifier.py:317\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc8c9e1e93c84f88eb53e6a348695a47ed91bc57dc87c9da3bbe31e6a3dfb86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): grox/libs/video_tools/frame_sampler.py:41-48 | grox/libs/video_tools/frame_sampler.py:92-99 \u2014 both copies are in the same file, so extract the block 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":"grox/libs/video_tools/frame_sampler.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59734eb085ed055ba69af004d74cf74503fdbfdb9d0f3f6f7b9cc0861154ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/reference/sid_codebook.py:233-240 | phoenix/reference/sid_codebook.py:603-610 \u2014 both copies are in the same file, so extract the block 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":"phoenix/reference/sid_codebook.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bef35ad88fbd9ff4434560d1eb8942810572e0d4d7f220721d49910e8d9471"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/xrex/configs/data_feeds.py:231-238 | phoenix/xrex/configs/xrecsys.py:218-225 \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":"phoenix/xrex/configs/data_feeds.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3e4806be951f4da0568c8d2ca0da7ab842dfd75f71e1c21ef7debbf12dbfee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/xrex/cuda/mol_epilogue/__init__.py:95-102 | phoenix/xrex/cuda/mol_epilogue/__init__.py:149-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/mol_epilogue/__init__.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"154588d19b6c0b5eb476fd8620bc06048664a61e64dd757f491898caec14cb15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/xrex/models/recsys_two_tower_model.py:448-455 | phoenix/xrex/models/recsys_two_tower_model.py:457-464 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/xrex/models/recsys_two_tower_model.py:448\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":"phoenix/xrex/models/recsys_two_tower_model.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be39ec0abc4c74ace6f929f9ac3ac25c154f41785b452cdc0f7c24a16430763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/xrex/pallas/attention.py:170-177 | phoenix/xrex/pallas/ranker_attention_v2.py:497-519 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/attention.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 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 \u0060phoenix/xrex/pallas/attention.py:170\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/attention.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acaa013c10c09dc3d6f9fdac2722da83f2c0dd0ae2b5248968900f2911cf8d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:103-110 | phoenix/xrex/pallas/ranker_attention_v2.py:222-229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1cebc5886072c847a25b81e06f39d45e135b0ac8f5bfb9be84e6391d77e6e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_varlen.py:803-810 | phoenix/xrex/pallas/ranker_attention_varlen.py:976-983 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"06aad8b51ec4f7f3187d04062b7d6e5e2fb46ba5d647070643c08d102987b7e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/xrex/utils/metadata.py:338-345 | phoenix/xrex/utils/metadata.py:364-371 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/metadata.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c21f8df6b28d4c802a224f8278c28dafa5b56fcfeb252305aaf6759199d6840"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): grox/flows/ptos/classifier.py:286-291 | grox/flows/ptos/classifier.py:341-347 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060grox/flows/ptos/classifier.py:341\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":"grox/flows/ptos/classifier.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1906f0e837d318dde2edbc8963cd841c43c8d177f9462408f7c86e06ab46ba0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20137 lines \u00D7 4): phoenix/reference/sid_assign.py:25-31 | phoenix/reference/sid_codebook.py:585-588 | phoenix/reference/sid_codebook.py:620-623 | phoenix/reference/sid_io.py:196-202 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/sid_assign.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe16f8c84bab68a677acf5df7d91e246301a291b2fcf8929539b286d1837930e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/xrex/configs/data_feeds.py:213-219 | phoenix/xrex/configs/data_feeds.py:239-245 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/xrex/configs/data_feeds.py:220\u0060 calls \u0060get\u0060 and \u0060phoenix/xrex/configs/data_feeds.py:246\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/data_feeds.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f4ac33b7a768105edddbdf5c85ee1365e90ca7635c1f28566a62fab9f0b284"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/xrex/configs/xrecsys.py:91-97 | phoenix/xrex/configs/xrecsys.py:804-810 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/configs/xrecsys.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"44116a15d0352eb9e1867f1e4c052aea48129def1eb797e0b1f4152df470a590"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_attention_fa4.py:644-650 | phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:853-859 \u2014 before extracting anything, compare \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py\u0060 and \u0060phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 258 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":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"022f3d9a27809339820429b99b592369bfa010825de8102b8f6eabfe7659b826"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/xrex/data/parquet_recsys.py:2764-2770 | phoenix/xrex/data/parquet_recsys.py:2818-2824 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2764}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb661b21718eca31ebc580141969e18cb3cea3f0416644f50b7eb9bc2749dcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/xrex/data/recsys/recsys_batch.py:1887-1893 | phoenix/xrex/data/recsys/recsys_batch.py:2216-2222 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1887}}}],"partialFingerprints":{"codehealthFindingId/v1":"15fde23cbb413f32266f366ca7b799aeda4c0fbcab7790f987a495146fd0abf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/xrex/models/recsys_sid.py:50-56 | phoenix/xrex/models/recsys_sid.py:77-83 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/models/recsys_sid.py:50\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_sid.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bb4a7fe31ad4b1e90cd7c802bc9525687f8b41413af1edf019c462dcc61560"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/xrex/pallas/attention.py:618-624 | phoenix/xrex/pallas/ranker_attention_v2.py:994-1000 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/attention.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 64 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 \u0060phoenix/xrex/pallas/attention.py:618\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":"phoenix/xrex/pallas/attention.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fffb6a3499106a201b039844e8333d756a97d39b0f1015fb6bba619935d63a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:707-713 | phoenix/xrex/pallas/ranker_attention_v2.py:835-841 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"9691f44221bc5b8cba67113bf4020093ae056313e24f0c236a377b8371afcf2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): phoenix/xrex/models/recsys_model.py:1772-1777 | phoenix/xrex/models/recsys_model.py:2212-2220 | phoenix/xrex/models/recsys_model.py:2227-2234 | phoenix/xrex/models/recsys_model.py:3365-3370 | phoenix/xrex/models/recsys_model.py:3386-3391 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/models/recsys_model.py:1772\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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":1772}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bb56436639ae86976e72199b277c7df83ae56fdcdb081a8e49f412a8745aaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): phoenix/xrex/models/recsys_feature_prep.py:856-861 | phoenix/xrex/models/recsys_model.py:1770-1775 | phoenix/xrex/models/recsys_model.py:1937-1942 | phoenix/xrex/models/recsys_model.py:3363-3368 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/models/recsys_feature_prep.py:856\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":"phoenix/xrex/models/recsys_feature_prep.py"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c8328c845b252da30a61fecd38c1bd7c5aff7827b38603eeed3d19941ad5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): phoenix/xrex/pallas/ranker_attention_v2.py:708-713 | phoenix/xrex/pallas/ranker_attention_v2.py:836-841 | phoenix/xrex/pallas/ranker_attention_varlen.py:805-810 | phoenix/xrex/pallas/ranker_attention_varlen.py:978-983 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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, \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:977\u0060 calls \u0060logical_and\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_v2.py:835\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eefdc2e0b743aea667ee27215d1fe0a4a0a883e3fc292014078f4d6f06233c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): phoenix/xrex/inference/model_runner.py:4352-4357 | phoenix/xrex/inference/model_runner.py:5447-5452 | phoenix/xrex/train/recsys_bundle_export.py:604-609 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4352}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc8e366f6251ad425bbd251db6c5f81e78f976fcb0c1d09fc76bfb9365920df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): phoenix/xrex/pallas/ranker_attention_fa3.py:255-262 | phoenix/xrex/pallas/ranker_attention_fa3.py:1111-1118 | phoenix/xrex/pallas/ranker_attention_fa3.py:1375-1382 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb26f860c15afde846c500fe97fd48272b6874eea9be07e5e3d177e009fdac8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): bdsm/runtime/batch_prefetcher.py:635-640 | bdsm/runtime/score_layout.py:22-27 \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":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce388a591dfc0f27389058abb6ee5c66e9a31f0752008fcaefb4f8647582ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): grox/core/data_loaders/data_types.py:955-960 | grox/core/data_loaders/post_mapper.py:78-83 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/data_types.py"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0c0cdefb218018f6c390fc11f14ead156b26c2c9ab32b1cd7ebe149020641f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix/reference/sid_codebook.py:62-67 | phoenix/reference/sid_codebook.py:113-118 \u2014 both copies are in the same file, so extract the block 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 \u0060phoenix/reference/sid_codebook.py:62\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":"phoenix/reference/sid_codebook.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d2361aa2f32fb2fdcae56865e7fa38c607ee6c3db4f1c52da2807edb751fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:2042-2047 | phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:2121-2126 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":2042}}}],"partialFingerprints":{"codehealthFindingId/v1":"5706c6a8b4ca96ab52b7d60b112dc8f86ead0b767471bf913eec2f6f4ddbb46a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/xrex/inference/model_runner.py:2149-2158 | phoenix/xrex/train/trainer_recsys.py:816-825 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2149}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d0a26ce0ceb9c8a765648aa5c83b89f2eaa384e3b7260e957e3020733a5938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix/xrex/inference/model_runner.py:4748-4753 | phoenix/xrex/inference/model_runner.py:4819-4824 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4748}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f54ede29f3bf184750b770f16b0147206f6ea4a6128f7ba4ada886b75e3dc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): phoenix/xrex/models/recsys_feature_prep.py:841-851 | phoenix/xrex/models/recsys_model.py:1883-1893 \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 \u0060phoenix/xrex/models/recsys_feature_prep.py:841\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":"phoenix/xrex/models/recsys_feature_prep.py"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0df5387f8dbda485ab4e3f30f9cc82421608bd93e964aad6beffcaeb58ed6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:3462-3467 | phoenix/xrex/models/recsys_sid.py:176-181 \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 \u0060phoenix/xrex/models/recsys_model.py:3462\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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":3462}}}],"partialFingerprints":{"codehealthFindingId/v1":"713492cb4a231972ab0a4252d0d5a083ec41f151ed95d81f80e28bb1a0ad02b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix/xrex/pallas/attention.py:413-418 | phoenix/xrex/pallas/attention.py:511-516 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060phoenix/xrex/pallas/attention.py:510\u0060 calls \u0060load\u0060, \u0060ds\u0060 and \u0060phoenix/xrex/pallas/attention.py:412\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":"phoenix/xrex/pallas/attention.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"884a74b9f5551757e42a15fd13bc471fac33fd61d23183fe7e773bbffc64d6b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:129-135 | phoenix/xrex/pallas/ranker_attention_v2.py:704-710 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6eb6607344d1206b332d7c305f5c8a45d241b3320ad54600655889aae265e1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_v2.py:147-152 | phoenix/xrex/pallas/ranker_attention_varlen.py:309-315 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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 \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:309\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:316\u0060 calls \u0060div\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_v2.py:153\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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"436f445001479cfc29e36cb826b53ae5a59e3eb66e413b68dfa8b81b88207308"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_varlen.py:1470-1477 | phoenix/xrex/pallas/ranker_attention_varlen.py:1818-1825 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:1826\u0060 calls \u0060load\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:1478\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd3157f0355cd48a050929294b28a31a5ec902f5c9e80921a621da14b0c3f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/xrex/train/trainer_recsys.py:3311-3318 | phoenix/xrex/train/trainer_recsys.py:3329-3336 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":3311}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ddbd72c8d1da2cc89b9111c4bea9c470bfc98a1bda0982ae0675cac7f17f2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): phoenix/xrex/models/recsys_model.py:1761-1765 | phoenix/xrex/models/recsys_model.py:2214-2220 | phoenix/xrex/models/recsys_model.py:2229-2234 | phoenix/xrex/models/recsys_model.py:3355-3359 | phoenix/xrex/models/recsys_model.py:3387-3391 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/xrex/models/recsys_model.py:1761\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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c31086585720c7f3d6d6e4c08942aac8ddcdb79cfcbef39df3f57c27424259"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): grox/libs/kafka_cli/consumer.py:62-67 | grox/libs/kafka_cli/mtls.py:21-25 | grox/libs/kafka_cli/producer.py:33-38 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060grox/libs/kafka_cli/consumer.py:69\u0060 calls \u0060info\u0060 and \u0060grox/libs/kafka_cli/mtls.py:27\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":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23d1b14c785cc31c5ff106bf91c0db1925e55ab84977f3187a801991a325541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): phoenix/reference/sid_codebook.py:811-815 | phoenix/reference/sid_codebook.py:817-825 | phoenix/reference/sid_codebook.py:843-850 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060phoenix/reference/sid_codebook.py:843\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":"phoenix/reference/sid_codebook.py"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c597953308b9629f5f6ff4c6241ef8321e8b1bea24dcd5582dc2c1f081fc80a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): phoenix/xrex/pallas/ranker_attention_v2.py:86-90 | phoenix/xrex/pallas/ranker_attention_v2.py:210-214 | phoenix/xrex/pallas/ranker_attention_varlen.py:220-224 \u2014 before extracting anything, compare \u0060phoenix/xrex/pallas/ranker_attention_v2.py\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_varlen.py\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 288 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, \u0060phoenix/xrex/pallas/ranker_attention_varlen.py:219\u0060 calls \u0060program_id\u0060 and \u0060phoenix/xrex/pallas/ranker_attention_v2.py:85\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":"phoenix/xrex/pallas/ranker_attention_v2.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"567db1f223d0a7ee86e41744680f45023441d26ada02e4aff3490a0cef726fe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): phoenix/xrex/pallas/ranker_attention_varlen.py:288-293 | phoenix/xrex/pallas/ranker_attention_varlen.py:803-807 | phoenix/xrex/pallas/ranker_attention_varlen.py:976-980 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"11513d055258d2d8b5324e5749fd6a384f7afda1345ac06cf82598d43ef4d211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): grox/core/data_loaders/descendant_hydrator.py:23-27 | grox/core/data_loaders/strato_loader.py:115-120 \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 \u0060grox/core/data_loaders/strato_loader.py:115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/descendant_hydrator.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc31a994f96e7fe90b239ebb34c658e44fb75d12b0d10633fcacc573b462a023"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): grox/flows/ptos/classifier.py:270-274 | grox/flows/ptos/classifier.py:372-378 \u2014 both copies are in the same file, so extract the block 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 \u0060grox/flows/ptos/classifier.py:270\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c266e714136c8133b2850e00468dd768a5473b700740202ff20c14b3235593b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/reference/sid_codebook.py:700-708 | phoenix/reference/sid_codebook.py:742-750 \u2014 both copies are in the same file, so extract the block 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":"phoenix/reference/sid_codebook.py"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cecd46d3500e0279f388f9d6eb6fb8db39255ff25eacb37845b421486731879"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/reference/sid_codebook.py:730-736 | phoenix/reference/sid_codebook.py:789-795 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/sid_codebook.py"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8e0051cc1e8f3ce839eb7afacd9cd2a4adb48ab061547cdb019ea7ff6f1185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix/xrex/data/streaming/kafkaloader.py:737-741 | phoenix/xrex/data/streaming/kafkaloader.py:751-755 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"137c11e7ce8b0127307d2c20e9b82e9c6adf6b5923879bbb66fa3430bc917e80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix/xrex/models/recsys_feature_prep.py:492-496 | phoenix/xrex/models/recsys_user_features.py:176-181 \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":"phoenix/xrex/models/recsys_feature_prep.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"6315e7a44d99d219533c90abfdfe814851d5f39e40b2a37deda4a67898edba5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): phoenix/xrex/pallas/ranker_attention_varlen.py:561-570 | phoenix/xrex/pallas/ranker_attention_varlen.py:1073-1082 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_varlen.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c5814c64b982962125b4f34ec5f9be336624b57ee92f923ec7c7414e4c2085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix/xrex/train/trainer_recsys.py:1856-1860 | phoenix/xrex/train/trainer_recsys.py:2286-2290 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":1856}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a19e4d212253026d2c6f7239a3ce55e20e2d47d95dd8befd32537b30b3ec05e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): bdsm/runtime/login_starter_pack_counter.py:31-38 | bdsm/runtime/starter_pack_follows.py:30-37 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/login_starter_pack_counter.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae65d8d23befe25dd51ee3dbea9f0c7065dd0e8c98bc526d68f1de0723938612"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): grox/core/data_loaders/asr_processor.py:268-277 | grox/core/data_loaders/media_processor.py:109-118 | grox/core/dispatcher.py:35-44 | grox/core/engine.py:37-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c0f032728467c4670f4046e5b576cae6cf2757512a14384e5ebac953e9d675"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): grox/core/data_loaders/kafka_loader.py:62-68 | grox/core/generators/task_generator.py:29-35 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f7ec7ce42bb303d8f9d286af69b69c72826082e5343c5e93c0c734cb98fd69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): grox/flows/mm_emb/renderer_v82.py:92-96 | grox/flows/mm_emb/renderer_v8_search.py:107-111 \u2014 before extracting anything, compare \u0060grox/flows/mm_emb/renderer_v82.py\u0060 and \u0060grox/flows/mm_emb/renderer_v8_search.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 176 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"349c64713bb2a000af508845b7a85c74a03a875fbec07118f3b6263fe9c68acf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): grox/flows/mm_emb/renderer_v82.py:100-106 | grox/flows/mm_emb/renderer_v8_search.py:115-121 \u2014 before extracting anything, compare \u0060grox/flows/mm_emb/renderer_v82.py\u0060 and \u0060grox/flows/mm_emb/renderer_v8_search.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 176 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42a93d6e64ebbe295a1f40d8a9063cc038c172c8ce9b3e256cdb69df1399faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): grox/flows/mm_emb/renderer_v82.py:110-114 | grox/flows/mm_emb/renderer_v8_search.py:125-129 \u2014 before extracting anything, compare \u0060grox/flows/mm_emb/renderer_v82.py\u0060 and \u0060grox/flows/mm_emb/renderer_v8_search.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 176 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a578f7db8b1a16ec25b1f99d059d61dc7f9e78739c4c5b47ec1d1559b3934566"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): grox/flows/mm_emb/renderer_v82.py:128-137 | grox/flows/mm_emb/renderer_v8_search.py:143-152 \u2014 before extracting anything, compare \u0060grox/flows/mm_emb/renderer_v82.py\u0060 and \u0060grox/flows/mm_emb/renderer_v8_search.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 176 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2234d9575e03f1ad8f60efc0318c0d3ba4d3c0f0a84f537eca41d12195b152e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): grox/flows/mm_emb/renderer_v82.py:269-274 | grox/flows/mm_emb/renderer_v8_search.py:314-319 \u2014 before extracting anything, compare \u0060grox/flows/mm_emb/renderer_v82.py\u0060 and \u0060grox/flows/mm_emb/renderer_v8_search.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 176 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca21ed20e736f8f5c02c13387746886346ec0e84838809aad6656c8d857eef62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): grox/flows/mm_emb/renderer_v82.py:278-283 | grox/flows/mm_emb/renderer_v8_search.py:323-328 \u2014 before extracting anything, compare \u0060grox/flows/mm_emb/renderer_v82.py\u0060 and \u0060grox/flows/mm_emb/renderer_v8_search.py\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 176 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d48e0c1d9003a337e79e40e6d0af2b626a818ff358ed6b1ed8ea9ea8b838cca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): grox/flows/ptos/task_safety_ptos_adult_content_leading_frames_filter.py:87-91 | grox/flows/ptos/task_safety_ptos_key_frames_filter.py:78-82 | grox/flows/ptos/task_safety_ptos_media_injected_adult_infrared_video_spam_detection_filter.py:51-55 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_adult_content_leading_frames_filter.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfae9f5ff4c4f70a0c4fb29456ccdad755fa61523a8472046c3194ab70c533f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): grox/flows/reply_spam/task_multi_step_reply_spam.py:189-199 | grox/flows/reply_spam/task_write.py:196-206 \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":"grox/flows/reply_spam/task_multi_step_reply_spam.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d5d7107cac3bd64932c2e7c123d072211b837c83f581bf69fbaaad3f199bb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/python/training/xai-checkpointing/xai_checkpointing/load.py:124-131 | phoenix/xrex/utils/checkpointing.py:51-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/training/xai-checkpointing/xai_checkpointing/load.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c224b6c51e832239b6d509ac4003afb631a2843f3669caf23ff2156f1b94bafe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix/reference/repack_checkpoint.py:88-92 | phoenix/xrex/utils/checkpointing.py:120-124 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/repack_checkpoint.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbabd694747c53cf8b0ea20e0ff9d325a3190e3264cb6d594cc62f03d2c32059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): phoenix/xrex/cuda/async_emb/async_emb.py:178-183 | phoenix/xrex/cuda/row_emb/row_emb.py:184-189 \u2014 \u0060phoenix/xrex/cuda/async_emb/async_emb.py\u0060 and \u0060phoenix/xrex/cuda/row_emb/row_emb.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 72 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ctx\u0060 to \u0060AsyncEmbContextHandle\u0060 in one and \u0060RowEmbContextHandle\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/async_emb/async_emb.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1462531fe12ac4e8ac3453aeb9d61540903a5c4a68e566f483b20d7828bc60d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): phoenix/xrex/cuda/async_emb/async_emb.py:288-298 | phoenix/xrex/cuda/row_emb/row_emb.py:291-301 \u2014 \u0060phoenix/xrex/cuda/async_emb/async_emb.py\u0060 and \u0060phoenix/xrex/cuda/row_emb/row_emb.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 5 separate duplicated blocks between them, totalling at least 72 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ctx\u0060 to \u0060AsyncEmbContextHandle\u0060 in one and \u0060RowEmbContextHandle\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/async_emb/async_emb.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"317986543b2b8705972a404d4caae59abdc67fdbaab6849c9047c3613e272920"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): phoenix/xrex/cuda/async_emb/comm_utils.py:18-25 | phoenix/xrex/cuda/row_emb/comm_utils.py:18-25 \u2014 \u0060phoenix/xrex/cuda/async_emb/comm_utils.py\u0060 and \u0060phoenix/xrex/cuda/row_emb/comm_utils.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 24 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/async_emb/comm_utils.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e779291c1a6ad300206166ce8c71a526fd83f7e92c13215301a74009d069883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix/xrex/cuda/async_emb/comm_utils.py:43-47 | phoenix/xrex/cuda/row_emb/comm_utils.py:43-47 \u2014 \u0060phoenix/xrex/cuda/async_emb/comm_utils.py\u0060 and \u0060phoenix/xrex/cuda/row_emb/comm_utils.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 24 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/async_emb/comm_utils.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9d83f4b95c4bab0cfd0641e54a321d1859025552732d304a20778507aecbad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): grox/core/data_loaders/data_types.py:934-939 | grox/core/data_loaders/post_mapper.py:51-58 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/data_types.py"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5d8a2f0be7d2be0adfc3543c4e83e14a0b4aaaad621525c9ee6e1614e869f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/reference/mm_snapshot_gen.py:120-126 | phoenix/reference/mm_snapshot_gen.py:187-193 \u2014 both copies are in the same file, so extract the block 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":"phoenix/reference/mm_snapshot_gen.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f03d7b80d40185c28267afdf3acf854dab3b3cd2d81d0db804ffc6fc3cafcd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix/reference/mm_snapshot_gen.py:130-134 | phoenix/reference/mm_snapshot_gen.py:196-200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/reference/mm_snapshot_gen.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d4d32702144af1a6a3b2ebf23ff315470b0c39e4c1f6077bfb9122dcd4a877"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_attention_fa4.py:303-311 | phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py:373-381 \u2014 before extracting anything, compare \u0060phoenix/xrex/cutedsl/ranker_attention_fa4.py\u0060 and \u0060phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 258 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":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2d66c071ecf862d31b5dfb6e2765555569b5be56b669b5f329f75b47937a91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:2616-2620 | phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py:2679-2683 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab14c3838ef4f72c619ad16b749d3aaa5fb1cdf00c3ffb325083573633075493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix/xrex/data/parquet_recsys.py:2802-2806 | phoenix/xrex/data/parquet_recsys.py:2961-2965 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2802}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ea27a5e0490292274bc990114a933614e55bbe791baeaf38259d880575afe0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): phoenix/xrex/data/recsys/recsys_batch.py:1322-1332 | phoenix/xrex/data/recsys/recsys_batch.py:1407-1417 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9e9d2abe0a22bedc58060f412e126ced19165e0492ec252b409c8bd6f11c7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix/xrex/eval/metrics_recsys.py:284-288 | phoenix/xrex/eval/metrics_recsys.py:378-382 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/metrics_recsys.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af59ecb8f4086f2457bf2316d470b7fb64475ba9e47d5be4b1085cbe8bc36d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/xrex/inference/model_runner.py:967-973 | phoenix/xrex/inference/model_runner.py:1008-1014 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"002cf560a63db7f6021bb53d5e2929ca5d6809948b90eff27e5f6c8b85d02863"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:1725-1731 | phoenix/xrex/models/recsys_model.py:1735-1741 \u2014 both copies are in the same file, so extract the block 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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05c84f5b24aaa4bb2c0354ae4cbf08294203898d22eb02f61e77c16c0128225"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): phoenix/xrex/models/recsys_model.py:4906-4910 | phoenix/xrex/models/recsys_two_tower_model.py:2691-2695 \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 \u0060phoenix/xrex/models/recsys_model.py:4906\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":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":4906}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeaaf3e181d35f4adc46b228fdd824c3ce912a7984fd28b27f97c16ae3ddb415"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): visibility-filtering/rules/rule_spec/features/author.rs:244-248 | visibility-filtering/rules/rule_spec/features/post.rs:109-113 \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":"visibility-filtering/rules/rule_spec/features/author.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0d3799fb3a276b86bc4be6f08b0868524b720a6eaedde0b50d08678ba4e562"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: xai-checkpointing: xai-checkpointing: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"61651feb8f805d0cea4c8d7229e0d398d762a7e2864add576d78f522055dbe21"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: xai-configlib: xai-configlib: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"65b0fb59718acd0611f98fe8fb4f7698b6a8390e6f74262f7c6ac6a36b42324d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: xai-gimmick: xai-gimmick: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a1ecb0d5069c4422658766402d5385f03c26ca24062f6d4d208e7f0a4824ed7e"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: xai-proto: xai-proto: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"43541e0814eece5c6446005f11cce2660b5a32aaee39b97101510321e562efc5"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: xai-recsys-proto: xai-recsys-proto: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7370f040055cef3c166ffc7c45b55d0b29237fcd392da54d4b74f61c3b347782"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: xai-recsys-server: xai-recsys-server: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b2dac78533e50ecc3ee38a04eb05aea63dbcf42bd7660523f644a87165bbb53a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ActionControl (LCOM4 4): ActionControl\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce3de17e34d9e5bcb274be95d87dae096e06986fb9aa28b1ca0e0a3cafa6a87"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: VideoMediaHydrator (LCOM4 4): VideoMediaHydrator\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/video_media_hydrator.rs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4351b152990d26752c761afaa7a205a99225f762b5816b28968ba81dd56216a4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RecsysPredictorServer (LCOM4 4): RecsysPredictorServer\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":3719}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbbd8715db634f43e58186c2d788e7d6e00cb4e02e40057c66ae4195b0007ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/data/recsys/recsys_batch.py: phoenix/xrex/data/recsys/recsys_batch.py changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 120 in recsys_batch.from_record_batch at line 790. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/data/recsys/recsys_batch.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"8900e481dccf7f5db9fdb7b95181f8759e7663cee69ac5206db67e52e74aa926"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/models/recsys_model.py: phoenix/xrex/models/recsys_model.py changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in RecsysAggregatedModel.build_inputs at line 3987. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/models/recsys_model.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":3987}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94b8697b8ad69050db53262c668b06a0315c7b3aaa591ef8df5222f32eba566"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/train/trainer_recsys.py: phoenix/xrex/train/trainer_recsys.py changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in RecsysTrainer.create_executable at line 2744. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/train/trainer_recsys.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":2744}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a2a3d3e5d1cbfadb25070506588f762fccea44671e4c10a05d004bee120267"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: abuse-enforcement-service/service-lib/src/lib.rs: abuse-enforcement-service/service-lib/src/lib.rs changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in crate::abuse-enforcement-service::service-lib::src::run_enforcement_inner at line 420. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- abuse-enforcement-service/service-lib/src/lib.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edc079cff4d4c089d13f400391d786f616048c46cbb1558cfde40fc94211d6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/data/parquet_recsys.py: phoenix/xrex/data/parquet_recsys.py changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in InterleavingRecordBatchProvider.__init__ at line 796. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/data/parquet_recsys.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80142e44a1f5fac674dc841b6095650cd454868f1740bb2d06a5ba140c4a943"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/crates/serving/xai-recsys-engine/src/python.rs: phoenix/crates/serving/xai-recsys-engine/src/python.rs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 103 in RankingBatchPrep::compute_batch_inputs_rust_quick at line 1588. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/crates/serving/xai-recsys-engine/src/python.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/python.rs"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"511e5a5c96df5979cb51ca84eb52b16956a51c6d66c891edae27e929718aa12d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/train/recsys_bundle_export.py: phoenix/xrex/train/recsys_bundle_export.py changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in recsys_bundle_export.build_bundle at line 1077. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/train/recsys_bundle_export.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/recsys_bundle_export.py"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"d840d5ffb173d84a6203953f10972f6d04560cdc3b265878fe064d83ff1ca728"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/inference/model_runner.py: phoenix/xrex/inference/model_runner.py changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in BaseModelRunner.handle_requests at line 3238. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/inference/model_runner.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3238}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afe5908fae4395a835def88b494851bb83e5c16c04f0de68142694e6dae5ced"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: visibility-filtering/rules/engine.rs: visibility-filtering/rules/engine.rs changed 35 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in crate::visibility-filtering::rules::engine::fold_from at line 114. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- visibility-filtering/rules/engine.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/rules/engine.rs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0654feb754b3c41cf659f53027b749fdce8e7b17d919aaa2498e217c85adbd6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/crates/common/xai-recsys/src/util.rs: phoenix/crates/common/xai-recsys/src/util.rs changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in InputBuffer::compute_from_columnar_bytes at line 1561. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/crates/common/xai-recsys/src/util.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1561}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccde2d913cb62a46220a366dfd70d03e230cc5cfba17e037cc45428b5ff86106"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/train/trainer.py: phoenix/xrex/train/trainer.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in Trainer.maybe_load_checkpoint at line 1163. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/train/trainer.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc475dc5a152656aa0e6df952ed601290beabe10b13860fea6f58b716c22284"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/eval/recsys_eval.py: phoenix/xrex/eval/recsys_eval.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in RecsysTwoTowerEval.run at line 147. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/eval/recsys_eval.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/recsys_eval.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc489386ca5c5f5c2c02399ae1bb02804e0e392947035ab482e2f36b7714768"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/data/streaming/kafkaloader.py: phoenix/xrex/data/streaming/kafkaloader.py changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in PhoenixKafkaDataset.make at line 1358. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/data/streaming/kafkaloader.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f09f97412a92bf62a8adda37e1fec67bdb7319a901ff7f9dafac5569227b80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/data/rust_kafka_recsys.py: phoenix/xrex/data/rust_kafka_recsys.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in RustKafkaDataset._async_kafka_consumer_arrow at line 111. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/data/rust_kafka_recsys.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/rust_kafka_recsys.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"87caa77e057f130e5ee5ad5f1fd58340fc4d4c031a0f2a6ef66f3b1cde0e7454"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: abuse-enforcement-service/service-lib/src/action_control.rs: abuse-enforcement-service/service-lib/src/action_control.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in ActionControl::validate at line 1792. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- abuse-enforcement-service/service-lib/src/action_control.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"050865779d032b70eef1e19d09e77527b00c6e1daab25d5fd7519592d761b7d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/models/transformer.py: phoenix/xrex/models/transformer.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in Transformer.__call__ at line 693. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/models/transformer.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/transformer.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"220943fe3e4b8d8100649bfab351b30a1ad44a54520ecab546489dd831507fa3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: abuse-enforcement-service/service-lib/src/action_control/levels.rs: abuse-enforcement-service/service-lib/src/action_control/levels.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in ActionControl::set_rows at line 772. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- abuse-enforcement-service/service-lib/src/action_control/levels.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/action_control/levels.rs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ec3cb0fa74db7969991689499b1cd1e8f2998bf4f2fc89f6b68b9efdf163b1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/models/recsys_two_tower_model.py: phoenix/xrex/models/recsys_two_tower_model.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in RecsysTwoTowerModel.forward at line 2279. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/models/recsys_two_tower_model.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_two_tower_model.py"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad8ad27a43f722321f19b16631d0deaca9280c06055836b7c11d78521e2baee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/models/recsys_feature_prep.py: phoenix/xrex/models/recsys_feature_prep.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in recsys_feature_prep._add_history_features at line 925. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/models/recsys_feature_prep.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_feature_prep.py"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"288f985f9d5e8fa57df37d4a4684e20b7d2ddd03109c271710a58b2a0d76ffb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/data/recsys/sequence_packing.py: phoenix/xrex/data/recsys/sequence_packing.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in sequence_packing.pack_batch at line 316. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/data/recsys/sequence_packing.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/sequence_packing.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9586ce37ffc039b4284aaa1c2c277e366dbb41bcc145a526b04febee20b43bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs: phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in xai_recsys_engine::emb_table::load_tensor_into at line 1373. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-engine/src/emb_table.rs"},"region":{"startLine":1373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc7accdb37a4e81b61e8f89f73d148bd39536b34071b2c1b48fe31aae3a398d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/data/retrieval_dataset.py: phoenix/xrex/data/retrieval_dataset.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in RetrievalDataset.load_corpus at line 492. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/data/retrieval_dataset.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/retrieval_dataset.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb2f40061d7734b5119e8092b1b0ffdc3f7bd82d4460d4c6e03c26cb8ea5337"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/data/rust_parquet_recsys.py: phoenix/xrex/data/rust_parquet_recsys.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in RustParquetDataset._record_batches at line 906. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/data/rust_parquet_recsys.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/rust_parquet_recsys.py"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"180c8992e9c8203e79e64e9c23100172ca0e7e464092038c08fc430a0d8e33e6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py: phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ranker_attention_varlen_fa4._build_packed_block_sparse at line 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3144808314490d64094dd01711c443ef7301ac81a7ebca9d8e0053657e4c86b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py: phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in FlashAttentionForwardSm100.correction_loop at line 2240. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/flash_fwd_sm100.py"},"region":{"startLine":2240}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f912686e70a7ce3eabef3e02d4aced73c71f59a52f99836bdd8ef8e655b7ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: grox/core/data_loaders/media_loader.py: grox/core/data_loaders/media_loader.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in MediaLoader.hydrate_video at line 397. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- grox/core/data_loaders/media_loader.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf979d6fa621e287cb578c587a6a88b799c9fcc4ba5bac11dad94d928f920c9d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: grox/core/data_loaders/data_types.py: grox/core/data_loaders/data_types.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Post.from_post_metadata at line 802. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- grox/core/data_loaders/data_types.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/data_types.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"699f428153770fae32a2727e773c8a98e94e3e5f3751a37186604cf210bac02f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: grox/core/lm/post.py: grox/core/lm/post.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in PostRenderer.render at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- grox/core/lm/post.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/lm/post.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5263cebca2de6544f05a3b32e84cb7d0090ac32c5b5d578e60556a345411a44d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: visibility-filtering/hydration/store/key_origin.rs: visibility-filtering/hydration/store/key_origin.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in KeyOrigin::spec at line 119. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- visibility-filtering/hydration/store/key_origin.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/hydration/store/key_origin.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e850ec24ba1c8811af7b868cf33448fc94948b4de9ebb9c79ce95f45f549d7fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: safety-label-source/remote.rs: safety-label-source/remote.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in RemoteSource::get at line 215. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- safety-label-source/remote.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"safety-label-source/remote.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c66752bc0db26e0cc2e6611403817d2a47f99bcd8e5a1cca2c77aa2ee26a16b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: grox/libs/video_tools/image.py: grox/libs/video_tools/image.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in image.build_motion_reveal_images at line 585. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- grox/libs/video_tools/image.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/image.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c34b6cae0b6ef502fb7b82ff624a1fab64d445eb49853f00319d1291527c1e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/cutedsl/ranker_attention_fa4.py: phoenix/xrex/cutedsl/ranker_attention_fa4.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ranker_attention_fa4.ranker_attention_fa4 at line 254. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/cutedsl/ranker_attention_fa4.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5bf3f105aa3ef7c2690d921f36ed091ea8f47a653a63105e754bbcddca8ba9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/data/streaming/kafkaconsumer.py: phoenix/xrex/data/streaming/kafkaconsumer.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in kafkaconsumer._consumer_poll_loop at line 1365. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/data/streaming/kafkaconsumer.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed2777ead0dd30198ab0d1306f75b4bcf4c35328c7adc7204038b9277ff954f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/python/training/xai-checkpointing/xai_checkpointing/load.py: phoenix/python/training/xai-checkpointing/xai_checkpointing/load.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in load.load_checkpoint_streamed at line 468. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/python/training/xai-checkpointing/xai_checkpointing/load.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/training/xai-checkpointing/xai_checkpointing/load.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e2ab61eb87165411567cb31d3a532fcf5da687cbe465a3e3ee475fe0ad8ff0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/inference/launch_inference.py: phoenix/xrex/inference/launch_inference.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in launch_inference.run at line 273. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/inference/launch_inference.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_inference.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e115ab8833bbf36b0d85a9cea7220a0595211e59339cf837322ae347339b295"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: grox/core/lm/convo.py: grox/core/lm/convo.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Conversation.to_openai_messages at line 395. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- grox/core/lm/convo.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/lm/convo.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3bc5bddcaedde4dde3447d41caddbf35afa2762da5240fb75f56960027fb529"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: visibility-filtering/verdict_gate.rs: visibility-filtering/verdict_gate.rs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Case::judge at line 385. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- visibility-filtering/verdict_gate.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/verdict_gate.rs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7cf5afbf74f7707846791735dd286d846f3151a0075993d8648886f262aee9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: grox/core/data_loaders/post_mapper.py: grox/core/data_loaders/post_mapper.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in PostMapper.from_post_metadata_strato at line 86. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- grox/core/data_loaders/post_mapper.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/post_mapper.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"82899dc6761a27054118b3a5b1cb9ed0e691f8fc66ffea1ced85cd811f15f9b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: abuse-enforcement-service/service-lib/src/backfill.rs: abuse-enforcement-service/service-lib/src/backfill.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in crate::abuse-enforcement-service::service-lib::src::backfill::validate_start at line 1192. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- abuse-enforcement-service/service-lib/src/backfill.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa27592e6d50261783aa2115b4a59204863f20f56c211f1e3fdb381a35c0a40d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py: grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in TaskSafetyPtosSafemodelSexNudity._run at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1da520184ccbecf4cfda97e456ae2f6984ac14e2bbda68869d10f57ddf501a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix/xrex/utils/checkpointing.py: phoenix/xrex/utils/checkpointing.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in checkpointing.save_checkpoint at line 222. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix/xrex/utils/checkpointing.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/checkpointing.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"87eac62be375c910b313644389953d18e3a564add90ab4fc2cc396747d24c71f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: home-mixer/candidate_hydrators/ads_brand_safety_vf_hydrator.rs: home-mixer/candidate_hydrators/ads_brand_safety_vf_hydrator.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AdsBrandSafetyVfHydrator::hydrate at line 81. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- home-mixer/candidate_hydrators/ads_brand_safety_vf_hydrator.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/ads_brand_safety_vf_hydrator.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"018af396c74cacfb828d2dea3c06a892fd685fe25fc92942a2733a46895f90f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: phoenix-rankall/src/store/base.rs: phoenix-rankall/src/store/base.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in BaseSnapshotStore::start at line 522. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- phoenix-rankall/src/store/base.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/store/base.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7b2d63040455abc83f64c56f730ca04f6d2a3f2ed171b89da2ed233fe2f5df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: grox/flows/ptos/task_write_safety_post_annotations_result_sink.py: grox/flows/ptos/task_write_safety_post_annotations_result_sink.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in TaskWriteSafetyPostAnnotationsResultSink._apply_labels_for_annotation at line 162. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- grox/flows/ptos/task_write_safety_post_annotations_result_sink.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c71827abadfac2df5f9ec077e6812592075d30b99f986b3d14b464254eaeb4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: home-mixer/util/urt/mod.rs: home-mixer/util/urt/mod.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in crate::home-mixer::util::urt::make_urt_timeline at line 30. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- home-mixer/util/urt/mod.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/mod.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3a235e3c1f28b2738badb1d97aca2bd107b93ce014be56e89f2698494463ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: home-mixer/ads/multi_risk_blender.rs: home-mixer/ads/multi_risk_blender.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in crate::home-mixer::ads::multi_risk_blender::blend_with_drops at line 38. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- home-mixer/ads/multi_risk_blender.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/ads/multi_risk_blender.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb5969e8f4b9ab0059447812715cc50c6fa99636ab5b053d632bef5b854af17"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: bdsm/runtime/score_results_sink_focal.py: bdsm/runtime/score_results_sink_focal.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in score_results_sink_focal.main at line 1459. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 21:42:04 \u002B00:00\u0027 --until=\u00272026-11-13 21:42:04 \u002B00:00\u0027 --full-history --no-merges -- bdsm/runtime/score_results_sink_focal.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1459}}}],"partialFingerprints":{"codehealthFindingId/v1":"9337f2c0aa0c98116fe53233bbaf681b1dcd60837f83a706f2a2c74bc23c53b0"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060phoenix-rankall/src/main.rs\u0060 makes this repository a deployable product (line 1)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/main.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99d72aee0cd3cf41fef5c172322ea251aa911879f977d0841fd6b3e7d03bce0"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060TopFollowPmi\u0060 spells \u0060Pmi\u0060 where 15 names in the project spell it \u0060PMI\u0060: 15 of 16 names in project repository spell the token \u0060PMI\u0060 (15 of 16; unit: names in project repository containing \u0060PMI\u0060). Peers: Predict.getPMIForUserFeatures (agatha/hub/agatha/predict/Predict.scala:17); com.twitter.hub.agatha.util.CrossedPMIStatToModelledFeature (agatha/hub/agatha/util/CrossedPMIStatToModelledFeature.scala:7); com.twitter.hub.pmi.PMI.CrossedPMIStats (agatha/hub/pmi/PMI.scala:35); PMI.bigPMI (agatha/hub/pmi/PMI.scala:148); PMI.bigPMI (agatha/hub/pmi/PMI.scala:248). Rename to \u0060TopFollowPMI\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"agatha/hub/pmi/examples/TopFollowPmi.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"993e2ac9132f2d97d18add579c2996808416f94b45fb80c75a19c43108feef04"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060KnownForToMHBatch\u0060 spells \u0060MH\u0060 where 17 names in the project spell it \u0060Mh\u0060: 17 of 18 names in project repository spell the token \u0060Mh\u0060 (17 of 18; unit: names in project repository containing \u0060Mh\u0060). Peers: com.twitter.simclusters_v2.scalding.common.FavBasedPersistentTweetEmbeddingMhExportSource (simclusters/simclusters_v2/scalding/common/PersistentTweetEmbeddingSource.scala:32); com.twitter.simclusters_v2.scalding.common.LogFavBasedPersistentTweetEmbeddingMhExportSource (simclusters/simclusters_v2/scalding/common/PersistentTweetEmbeddingSource.scala:43); ManhattanFromStratoStore.createMhEndpoint (simclusters/simclusters_v2/summingbird/stores/ManhattanFromStratoStore.scala:88); com.twitter.visibility.under_the_hood.UthMhInjections (under-the-hood/scalding/UthMhInjections.scala:10); com.twitter.visibility.under_the_hood.UthReferenceMonthMhPublisherApp (under-the-hood/scalding/UthReferenceMonthMhPublisherJob.scala:28). Rename to \u0060KnownForToMhBatch\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/KnownForSources.scala"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf4eddfed40704695e5034ebc58bbfa6140ca6086df06aa4f6e1bf8bc9aa87f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060getTargetTopicsFromTFG\u0060 spells \u0060TFG\u0060 where 15 names in the project spell it \u0060Tfg\u0060: 15 of 16 names in project repository spell the token \u0060Tfg\u0060 (15 of 16; unit: names in project repository containing \u0060Tfg\u0060). Peers: com.twitter.simclusters_v2.scalding.embedding.tfg.EngagementWeightedTfgBasedTopicEmbeddingsAdhocJob (simclusters/simclusters_v2/scalding/embedding/tfg/EngagementWeightedTfgBasedTopicEmbeddingsJob.scala:33); com.twitter.simclusters_v2.scalding.embedding.tfg.EngagementWeightedTfgBasedTopicEmbeddingsScheduleJob (simclusters/simclusters_v2/scalding/embedding/tfg/EngagementWeightedTfgBasedTopicEmbeddingsJob.scala:42); com.twitter.simclusters_v2.scalding.embedding.tfg.EngagementWeightedTfgBasedTopicEmbeddingsBaseJob (simclusters/simclusters_v2/scalding/embedding/tfg/EngagementWeightedTfgBasedTopicEmbeddingsJob.scala:53); EngagementWeightedTfgBasedTopicEmbeddingsBaseJob.prepareUserToTopicEmbedding(favTfgTopicEmbeddings) (simclusters/simclusters_v2/scalding/embedding/tfg/EngagementWeightedTfgBasedTopicEmbeddingsJob.scala:82); EngagementWeightedTfgBasedTopicEmbeddingsBaseJob.writeOutput(newUserTfgEmbedding) (simclusters/simclusters_v2/scalding/embedding/tfg/EngagementWeightedTfgBasedTopicEmbeddingsJob.scala:150). Rename to \u0060getTargetTopicsFromTfg\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"simclusters/simclusters_v2/scalding/topic_recommendations/model_based_topic_recommendations/UserTopicModellingTrainingDataCollectionJob.scala"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2362f17ffa0f4a54628b2df4c1082a4dbf7f303b116595ed3d3c8921bb4d2cf3"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060SqrlEventThriftSimpleJSONProtocol\u0060 spells \u0060JSON\u0060 where 24 names in the project spell it \u0060Json\u0060: 24 of 25 names in project repository spell the token \u0060Json\u0060 (24 of 25; unit: names in project repository containing \u0060Json\u0060). Peers: FeaturesOfHealthSideEffectEvent.extractJsonObject (botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfHealthSideEffectEvent.java:110); Serializer.genStratoJson (botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:152); Serializer.getStratoJson (botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:160); Serializer.toStratoJson (botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:196); 1.toStratoJson (botmaker/src/java/com/twitter/botmaker/compiler/Serializer.java:226). Rename to \u0060SqrlEventThriftSimpleJsonProtocol\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/SqrlEventThriftSimpleJSONProtocol.java"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7153f73a575dab2f96a7f40c2b50dd18509534f0665bda1414c146ffe93b857"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"01c0873256932b0ad4da9f06957bbe335fbcf510bbafa151df985e1c77bdc1cf"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"2ec089853d72aaf50cee102a823a1c2106711caad5a1fc5c49a9f3c1751f1ff3"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"2010be59e6e7edddaba568f434fe670057e7636bd4e72ef8b82af90b4bb132f9"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a35016154e78c3005c23b18820a974d4bf22bee7f08c80d2c774deec3fc1e62c"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c56afcfd3f9985bd1454d3e24e159bfbc057a2b032b873847ada2642e0a832a4"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd8605f7ae44401699937d82404b715e15a05c899a6c56cba02d9581eecad9c8"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dc7973c27a8539d635855e79b80d96463ce055f11a0471ecf198b428b7fdec8b"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15c237946f7ec95e3818039329f2e43c486250b148f98855d57c595ae54f85b2"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c640f7598e152b987243e745b8405f2ef2a56db6053d58e2ae31621a6efbad7f"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fc6e3d7c4229bdbe93d65ddea01702917d9322f9a85b84a26f3c929cfa55eecf"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c598728ba1fa07f31e677c41d08c2926396f35ec8dc4119622635d68a8e3ff8"},"taxa":[{"id":"CWE-116","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8239e0bbdb12b312720a844af07ef9f5990ba2d6461fa214d1ca42b2c440e0a3"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fdf717e02d8055d931647636f98c214f2d3939f9766d6ee07f27827fd939535b"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c9e2663ff1d4aec6c94aa6143665131bfd585227e7b5142472d3c3117431f82"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"cea24ef57d3d48eec33250f4f907a555e74d4d9de3d49a069ab0b550d3377cf9"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"b5057589b0651d12fc8d955f36653062f8aa49287d65ff13b08ffc30ab52361d"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"4101907c9a03e4a0c91c4c97205dbaba6159d7f381fa73013c81daed3f341abc"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"37ce58636f250876639993d7b20c70b479b13c769dafc2a3a1932cfae620588f"},"properties":{"dependency":{"package":"pyo3","version":"0.26.0","advisory":"[GHSA redacted]","aliases":["[GHSA redacted]","RUSTSEC-2026-0176","RUSTSEC-2026-0177"],"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":"e9a03ce188e00a22f9f5790d6ccddf141b4d4b78bcbb148cbe7b805700efa442"},"properties":{"dependency":{"package":"libz-sys","version":"1.1.25","advisory":"RUSTSEC-2026-0418","aliases":["[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":"73252a3c0d17e1bab0f333738991ac830c237ff11d2f4adf7996149b29e5ecb1"},"properties":{"dependency":{"package":"pin-utils","version":"0.1.0","advisory":"RUSTSEC-2026-0441","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":"038777a9e98e3adf3b2340fddb194d49803223e23ee5a3fbcf393ed8b4716b7a"},"properties":{"dependency":{"package":"tokio","version":"1.50.0","advisory":"RUSTSEC-2026-0386","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":"4e96f2b1e2e67f799016c747036e9d312f7c5313aac0b8c9bd977c96db3ac8d5"},"properties":{"dependency":{"package":"zstd-sys","version":"2.0.16\u002Bzstd.1.5.7","advisory":"RUSTSEC-2026-0410","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":"30ff084262ac77a50273c4c40105951a6c99920e5f08d5df2a0e96b581f6d3dd"},"properties":{"dependency":{"package":"arrow-data","version":"59.1.0","advisory":"RUSTSEC-2026-0442","aliases":["[CVE 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":"b6fcc70de16da0ec4525be5e0ec67b2f46111ac067dd628de816e9b5412a8686"},"properties":{"dependency":{"package":"bincode","version":"1.3.3","advisory":"RUSTSEC-2025-0141","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":"04ad15087bd95ef43f9d038a726bc3535e816dd972fb164c83e79c92f9f11866"},"properties":{"dependency":{"package":"ctutils","version":"0.4.2","advisory":"RUSTSEC-2026-0385","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":"3425556e409cc3caac0b8e1d04c02d40c3bd500fa123bf777f3ebe37659d3329"},"properties":{"dependency":{"package":"h2","version":"0.4.15","advisory":"RUSTSEC-2026-0258","aliases":["[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":"7fd3b95db185c2854e3ee819f3c0147c6fdc1cbb94ae4d52938e94c53342b947"},"properties":{"dependency":{"package":"opentelemetry_sdk","version":"0.24.1","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":"665eb6fd0759f55008983ce2d6e5465629b543cbf391c96a03c1b3791292d439"},"properties":{"dependency":{"package":"paste","version":"1.0.15","advisory":"RUSTSEC-2024-0436","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":"6621cd1db3c7c1647ad049abdd66d5ec68361aa974b66d11ca5db45a728e0046"},"properties":{"dependency":{"package":"protobuf","version":"2.28.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","RUSTSEC-2024-0437"],"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":"f99fd0321224177f6a628ba75ccd940f78a79070199f8e6931aa71e8ae0c8c02"},"properties":{"dependency":{"package":"pulldown-cmark","version":"0.13.4","advisory":"RUSTSEC-2026-0414","aliases":["RUSTSEC-2026-0433"],"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":"84eb52cc9a153f00aeff0ae738323a9a1d0b59f90034f356d22024b014a15b19"},"properties":{"dependency":{"package":"quick-xml","version":"0.39.4","advisory":"RUSTSEC-2026-0194","aliases":["RUSTSEC-2026-0195"],"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":"40f058a7eb8a2c8a4ab22575ac07df5bf5debc1e4be8d9e10061edf665008c49"},"properties":{"dependency":{"package":"quinn-proto","version":"0.11.16","advisory":"RUSTSEC-2026-0338","aliases":["[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0339","RUSTSEC-2026-0340","RUSTSEC-2026-0341","RUSTSEC-2026-0342","RUSTSEC-2026-0523","RUSTSEC-2026-0524"],"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":"c76534dba0a97b617f16b8c6a4cd0603507fecd00cc9d8b9dc80db5bb3d4d6ba"},"properties":{"dependency":{"package":"quinn-udp","version":"0.5.15","advisory":"RUSTSEC-2026-0538","aliases":["[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":"e181708eb5c9f7e9d041205a12053a80b0ac1e66d13be17ffbc4301976b01879"},"properties":{"dependency":{"package":"rtrb","version":"0.3.4","advisory":"RUSTSEC-2026-0274","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":"98c79322171817e036ce206173454cfbc40a891a059bae13e4c75c5305b86bff"},"properties":{"dependency":{"package":"rustix","version":"1.1.4","advisory":"RUSTSEC-2026-0486","aliases":["[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":"1e84a719671c1c2382ba3ad9687ad3378fb46d62db5c04181e147ddb4cb900e3"},"properties":{"dependency":{"package":"rustls","version":"0.23.42","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","RUSTSEC-2026-0285","RUSTSEC-2026-0346","RUSTSEC-2026-0348","RUSTSEC-2026-0349"],"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":"6e44c4ec9c7308ddc0c07787a9808d8f372b757e88def309d5be0cc28b7e248e"},"properties":{"dependency":{"package":"rustls-webpki","version":"0.103.13","advisory":"RUSTSEC-2026-0382","aliases":["BIT-golang-2026-111943","[CVE redacted]","GO-2026-6809","RUSTSEC-2026-0381","RUSTSEC-2026-0383"],"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":"77f1aec8fa117aa0525f2a831b4aa095e1f4facd6d4773de7d12cde566912863"},"properties":{"dependency":{"package":"tokio","version":"1.53.1","advisory":"RUSTSEC-2026-0386","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":"601ed90266ed0b3204dc30591942bbf3fdb1b87942fab3ce509ad0efe4ccafc6"},"properties":{"dependency":{"package":"zstd","version":"0.13.3","advisory":"RUSTSEC-2026-0391","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":"79a62e6a39edf0442839188701a8559fc21375f3c77bd98cea9303185efc6f76"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0395","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":"6159e4e0abb07c50adb598d0b40d89f6c12b2936c55a05f3607617d552fae549"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0396","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":"e7d923c5d75929e96dff0e1ac8a14274810dae5e1e28b6cbf0c1ab71dc44b445"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0397","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":"7a83c4f269ccd9ca920716cfdced17881d874dbcbe02f84714ee27c87e2f543e"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0399","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":"d8b05da27501a162c5c6ff5080aa5ef8c2a6111e2085bee9de6c31657b093655"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0400","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":"d5d32edd1c9916958201075b14150e468992c47f4022644e9adf4d340671a9a4"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0401","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":"0f20c7253fe24a883dc3ed9ccb40539e59941a1784efac3d5a9e88ea0c35883c"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0402","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":"7680bac3e40a8caedd8ab12d13d51307578696d4b9e21ace3a28559c38467c36"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0404","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":"b7f29f34c5c916dcd3d27d3c885b99795d4322d7f3592652bfedfae89640ad6b"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0405","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":"c636b7c01dadfa17345c491917b54fb675686653c9e4f64afcdf0b32b0af6469"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0406","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":"7ccd20cd2425b68de15c8b8bfea4c17d6602c2ac80f341cb86c895b8908330e9"},"properties":{"dependency":{"package":"zstd-safe","version":"7.2.4","advisory":"RUSTSEC-2026-0398","aliases":["RUSTSEC-2026-0403"],"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":"b1913cfa2a05ff4b832ef1d81d12de68fceade1579d5d22d750752f68d4fa8e7"},"properties":{"dependency":{"package":"zstd-sys","version":"2.0.16\u002Bzstd.1.5.7","advisory":"RUSTSEC-2026-0410","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":"dc693b89098a3b581f58d8249eb936dae46932bc69cb03ee3ad8ec9cb792c3b3"}},{"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":"e74b497ca9f8041f41c77ebd98483cbf366e604d824eaf712768f504bd27faf1"}},{"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":"9fa66de17d4c1deb0c1b1d3254074e5192508e0f51c1a78f6abc90117853ae78"}},{"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":"f481aca950e2724076e893f3c26eab0e1e18707e6cb0e0645ce83224adbbbf51"},"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":"31eabae4e77f61618cf0e403e8c4ff46c4d863239c6dfd68ddd99a77749f99a6"},"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":"AX9","level":"error","message":{"text":"Query writes persistent state on the read path: CachedFetch.fetch_cached: \u0060CachedFetch.fetch_cached\u0060 is a read-named query yet it performs a durable write on the read path (a persist to a store/repository). A query must stay side-effect-free so reads are safe to retry, cache, and route to a read replica; move the write into a command."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/hydrator.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eeb11158c1fee1872c3cc885dcb4834f5ea609ac00f9be90e6e0357592f65f7"}},{"ruleId":"AX9","level":"error","message":{"text":"Query writes persistent state on the read path: mm_embedding_client$module.get_mm_client: \u0060mm_embedding_client$module.get_mm_client\u0060 is a read-named query yet it performs a durable write on the read path (a persist to a store/repository). A query must stay side-effect-free so reads are safe to retry, cache, and route to a read replica; move the write into a command."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-mm-server/src/mm_embedding_client.rs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fb6731162a2984fd1934bc5183bba5b63050023ec51c68da71db495669f087"}},{"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":"M4","level":"note","message":{"text":"README/code drift: README.md links to \u0060visibility-filtering/rules/registry.rs\u0060, but \u0060visibility-filtering/rules/registry.rs\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85864071a30ab325207b0475304e4f6aa1b79c8e2996b50e4173a6d35a328ea"}},{"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":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add cargo-audit / cargo-deny (or clippy) (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":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060start\u0060 is async and calls Await.result \u2014 a blocking call inside async code stalls the execution-context thread, and every future or fiber scheduled on it for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/loader/Scheduler.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15486fc9dc7738a9f20477b6e08ee51fa9d13c64c1cc451c2354844578eb7e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): under-the-hood/jetfuel/routes/_lib/report.ts:62 \u00B7 under-the-hood/jetfuel/routes/_lib/report.ts:77 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/jetfuel/routes/_lib/report.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"18394efd6d52456c66aea3bc57d5d819d579969f53ce13ad8737035696dfc7f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): under-the-hood/jetfuel/routes/index.tsx:69 \u00B7 under-the-hood/jetfuel/routes/report.tsx:321 \u2014 the two spans are one implementation copied and then locally edited \u2014 102 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/jetfuel/routes/index.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"976b86f90d545a563c40b0301220293e53d89b21868d62265ea8bbb915ed745c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): under-the-hood/jetfuel/routes/_lib/ui.tsx:24 \u00B7 under-the-hood/jetfuel/routes/trace.tsx:29 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/jetfuel/routes/_lib/ui.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c80df3883611aad796d987728739e2319c887c23c38a70652d864a3403e8a1c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): under-the-hood/jetfuel/routes/index.tsx:11 \u00B7 under-the-hood/jetfuel/routes/report.tsx:13 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"under-the-hood/jetfuel/routes/index.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dc63e61728b3ea454aaafc816e03e7f8ec280ab5669f39e5a76737a0f28f42"}},{"ruleId":"X1","level":"warning","message":{"text":"Task from \u0060asyncio.create_task\u0060 is not kept: The task this creates is not kept anywhere. The event loop holds only a weak reference to its tasks, so a task nobody references can be garbage-collected before it finishes (Python\u0027s documentation for \u0060asyncio.create_task\u0060: save a reference to the result); and nothing ever awaits it, so an exception it raises is never handled \u2014 it surfaces, if at all, as \u0022Task exception was never retrieved\u0022 in a log. Keep the task: \u0060await\u0060 it, gather it, start it in an \u0060asyncio.TaskGroup\u0060 (\u0060async with asyncio.TaskGroup() as tg: tg.create_task(\u2026)\u0060), or, for genuine fire-and-forget, add it to a set and \u0060task.add_done_callback(tasks.discard)\u0060 with a callback that also reads its exception."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/engine.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"859d46ebc6535db0e52d07acd2f9f668469001adae098cd510cbb51c3fac20ae"}},{"ruleId":"X1","level":"warning","message":{"text":"Task from \u0060asyncio.create_task\u0060 is not kept: The task this creates is not kept anywhere. The event loop holds only a weak reference to its tasks, so a task nobody references can be garbage-collected before it finishes (Python\u0027s documentation for \u0060asyncio.create_task\u0060: save a reference to the result); and nothing ever awaits it, so an exception it raises is never handled \u2014 it surfaces, if at all, as \u0022Task exception was never retrieved\u0022 in a log. Keep the task: \u0060await\u0060 it, gather it, start it in an \u0060asyncio.TaskGroup\u0060 (\u0060async with asyncio.TaskGroup() as tg: tg.create_task(\u2026)\u0060), or, for genuine fire-and-forget, add it to a set and \u0060task.add_done_callback(tasks.discard)\u0060 with a callback that also reads its exception."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/schedules/init.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a615cd6700a01abe24f57538a66a380881c63d9f60d7bbe6aa5da7463799119e"}},{"ruleId":"X1","level":"warning","message":{"text":"Task from \u0060asyncio.create_task\u0060 is not kept: The task this creates is not kept anywhere. The event loop holds only a weak reference to its tasks, so a task nobody references can be garbage-collected before it finishes (Python\u0027s documentation for \u0060asyncio.create_task\u0060: save a reference to the result); and nothing ever awaits it, so an exception it raises is never handled \u2014 it surfaces, if at all, as \u0022Task exception was never retrieved\u0022 in a log. Keep the task: \u0060await\u0060 it, gather it, start it in an \u0060asyncio.TaskGroup\u0060 (\u0060async with asyncio.TaskGroup() as tg: tg.create_task(\u2026)\u0060), or, for genuine fire-and-forget, add it to a set and \u0060task.add_done_callback(tasks.discard)\u0060 with a callback that also reads its exception."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_processor.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f544703681d36de868270535141eace91ccdc4ea5da0b3bd9d70d7bb858464b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Object.class.equals(typeBase) \u0026\u0026 !String.class.equals(typeBase) \u0026\u0026 !Collection.class.isAssignableFrom(typeBase) \u0026\u0026 !Map.class.isAssignableF\u2026\u0060 appears character-identically in 2 files \u2014 botmaker/src/java/com/twitter/botmaker/function/collection/Contains.java, botmaker/src/java/com/twitter/botmaker/function/collection/Count.java. 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":"botmaker/src/java/com/twitter/botmaker/function/collection/Contains.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c5c4980ac995af888da4eb82881fad6cdf49e7be7ec8fd68b9117d882437a5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!context.isDebugging() \u0026\u0026 extractor instanceof Extractor.Functor\u0060 appears character-identically in 2 files \u2014 botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java, botmaker/src/java/com/twitter/botmaker/function/logic/Disjunction.java. 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":"botmaker/src/java/com/twitter/botmaker/function/logic/Conjunction.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f61d0c60b9e3786dd39f6256f21cc9638160433492fd4bded390576139cffb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Type.doubleLike(numA) || Type.doubleLike(numB)\u0060 appears character-identically in 2 files \u2014 botmaker/src/java/com/twitter/botmaker/function/logic/Equals.java, botmaker/src/java/com/twitter/botmaker/function/logic/NotEquals.java. 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":"botmaker/src/java/com/twitter/botmaker/function/logic/Equals.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5d593a40051f30cdaa93765052d9ba7175ceeec661510ca191c2a59a46b6b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Type.longLike(argA) \u0026\u0026 Type.longLike(argB)\u0060 appears character-identically in 4 files \u2014 botmaker/src/java/com/twitter/botmaker/function/logic/GreaterThan.java, botmaker/src/java/com/twitter/botmaker/function/logic/GreaterThanOrEquals.java, botmaker/src/java/com/twitter/botmaker/function/logic/LessThan.java, botmaker/src/java/com/twitter/botmaker/function/logic/LessThanOrEquals.java. 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":"botmaker/src/java/com/twitter/botmaker/function/logic/GreaterThan.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f864b6466f5b8aca01534a5f575f6667b835def012c1502968da3798dbd11d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060a instanceof Number \u0026\u0026 b instanceof Number\u0060 appears character-identically in 2 files \u2014 botmaker/src/java/com/twitter/botmaker/function/logic/Equals.java, botmaker/src/java/com/twitter/botmaker/function/logic/NotEquals.java. 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":"botmaker/src/java/com/twitter/botmaker/function/logic/Equals.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a41bfdfe2c28400eca969baca11e97f3650f6ac2c59770c3e56837a77454e287"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fieldType.typeBase == List.class \u0026\u0026 node instanceof ListOperator\u0060 appears character-identically in 2 files \u2014 botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java, botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java. 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":"botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83ec86879e3dcd18aa3ea182cfae70b6e601cd26b4afdedf33a69ae33e10dc1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fieldType.typeBase == Map.class \u0026\u0026 node instanceof MapOperator\u0060 appears character-identically in 2 files \u2014 botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java, botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java. 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":"botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72ca2273b2a928594c98b9e54e304b1570ff791700859f11d8124b639b62975"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fieldType.typeBase == Set.class \u0026\u0026 node instanceof SetOperator\u0060 appears character-identically in 2 files \u2014 botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java, botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftStructOperator.java. 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":"botmaker/src/java/com/twitter/botmaker/function/thrift/ThriftOperator.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a6ba5d57168152e17cf7529547cc02e6a285fd7689f791f84beccc8f8c428c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inAppReport.isSetEntityReportDetails() \u0026\u0026 inAppReport.getEntityReportDetails().getMomentReportDetails() != null\u0060 appears character-identically in 2 files \u2014 botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfNsfwFlag.java, botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfTweetReport.java. 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":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfNsfwFlag.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c120440d9fac59eea635c147885c9b7986a4ff333a0f90aa3243d05eb33df0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060any(block_is_set) and not all(block_is_set)\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/pallas/ranker_attention_fa3.py, phoenix/xrex/pallas/ranker_attention_varlen.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/pallas/ranker_attention_fa3.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea108f9d45d4aecf844e26c56709d221b89a412d971c90d384c021a92f5d78ff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cls._result_task and not cls._result_task.done()\u0060 appears character-identically in 2 files \u2014 grox/core/data_loaders/asr_processor.py, grox/core/data_loaders/media_processor.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0314ef2c09bf3ec7dba950d901a885cce11fcbcb930b3473049c2536ac5969"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060core_user.get(\u0022isBlueVerified\u0022) or safety.get(\u0022isBlueVerified\u0022)\u0060 appears character-identically in 2 files \u2014 grox/flows/mm_emb/renderer_v82.py, grox/flows/mm_emb/renderer_v8_search.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"7129f4ebb1acf6f8430b725e21da55b371b90be92cbe4360c3547d180c6ffa3c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing is not None and existing is not cls\u0060 appears character-identically in 2 files \u2014 grox/core/generators/registry.py, phoenix/python/common/xai-configlib/src/xai_configlib/__init__.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/generators/registry.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3155a12f62d9e2dc57f00969bc15e3afb4174614ee9c75fe8de69bf3b46475c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060frame.pts is None or frame.time_base is None\u0060 appears character-identically in 2 files \u2014 grox/libs/video_tools/frame_sampler.py, grox/libs/video_tools/key_frames.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/frame_sampler.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f03900c9863b650cd9603b71fc6c2152db944e8cfe2287ba6b647f8c543209"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060grads.shape == (ctx.tokens_per_rank, ctx.emb_width) and grads.dtype == jnp.bfloat16\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/cuda/async_emb/async_emb.py, phoenix/xrex/cuda/row_emb/row_emb.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/async_emb/async_emb.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b889718eb9dd205dee5ca4ce4465c8d135e0155ce106464d28b91649faa1fbf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(attn_config, RecsysAttentionConfig) and attn_config.num_user_prefix_tokens == self.num_user_prefix_tokens\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/models/recsys_model.py, phoenix/xrex/models/recsys_two_tower_model.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"980578448d40145d9fc2399255015448524e9d01321506960156a900cbfbd10d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(cls, type) and issubclass(cls, GrpcServicer)\u0060 appears character-identically in 2 files \u2014 grox/core/registry.py, grox/core/services/registry.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/registry.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4acf1a246d6631508d1f7f2020259c6f9fa150a87d2f8e680920c79f74d7acb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(cls, type) and issubclass(cls, Plan)\u0060 appears character-identically in 2 files \u2014 grox/core/plans/registry.py, grox/core/registry.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/plans/registry.py"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0f022975ff0562c1cc9e323fa4fb9c3b3d21e87702d7e57effa38473ce94cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(cls, type) and issubclass(cls, TaskGenerator)\u0060 appears character-identically in 2 files \u2014 grox/core/generators/registry.py, grox/core/registry.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/generators/registry.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35ec820be9d75d562f0eae880d13d324859e4abddf671b8e1bfa23359c069c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(first, dict) and \u0022embedding\u0022 in first\u0060 appears character-identically in 2 files \u2014 grox/libs/embed/embed_http.py, phoenix/reference/mm_encoder.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/embed/embed_http.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35d34ac55a2f1b4cb0a80f53644764c2660e24fa6a57904878c93ae003a7571"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(m, Video) and m.convo_video and m.convo_video.asr_transcript\u0060 appears character-identically in 2 files \u2014 grox/flows/mm_emb/embedder_v82.py, grox/flows/mm_emb/task_multimodal_post_embedding.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/embedder_v82.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0b38ee04bcecbaa062e3643c739817bd1fb7d512be5066c537e744659ce77b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(medium, Image) and medium.convo_image and medium.convo_image.content\u0060 appears character-identically in 2 files \u2014 grox/flows/mm_emb/renderer_v82.py, grox/flows/mm_emb/renderer_v8_search.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb61ea9d054fe9086e7d8dbc2536d3a7db83d3f328bc7210b60317e819d12e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(medium, Video) and medium.convo_video and medium.convo_video.frames\u0060 appears character-identically in 2 files \u2014 grox/flows/mm_emb/renderer_v82.py, grox/flows/mm_emb/renderer_v8_search.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"034f44766faeee9898ed35c9cce205180b0141188ddc8583f660bf00d7fcbe78"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(repaired, dict) and \u0022score\u0022 in repaired\u0060 appears character-identically in 2 files \u2014 grox/flows/reply_spam/classifier_reply_ranking.py, grox/flows/reply_spam/classifier_simple_reply_scorer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_reply_ranking.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac6b30936a5a1b73b5be6d1b1d57ed4f14c4798123e958ef01a8d52f6eacd49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(result, dict) and \u0022embedding\u0022 in result\u0060 appears character-identically in 2 files \u2014 grox/libs/embed/embed_http.py, phoenix/reference/mm_encoder.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/embed/embed_http.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ea7baea604cf786c78c5853eb34e69a111a295af1e5ef53e75bdacabbe911e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060last_step.shape == row_state.shape and last_step.dtype == jnp.int32\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/cuda/async_emb/async_emb.py, phoenix/xrex/cuda/row_emb/row_emb.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/async_emb/async_emb.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebef192c23335ac5cfd31bbfc276995717fd1bf11b8ab3e1a3640aea61606b50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060max_images is not None and len(images) \u003E= max_images\u0060 appears character-identically in 2 files \u2014 grox/flows/mm_emb/renderer.py, phoenix/reference/mm_encoder.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"90eb3af26f82d3af9a03713d955327ebf3773554d95d51706b9c9cb756635ecc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060medium.videoInfo or medium.animatedGifInfo\u0060 appears character-identically in 2 files \u2014 grox/flows/mm_emb/renderer_v82.py, grox/flows/mm_emb/renderer_v8_search.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c930ce829e8a696e040a46e0d1baff041c5f2e5e3bea7d41cf75d946df4cf6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060mparams.get(\u0022ip_vocab_size\u0022, 0) \u003E 0 and use_user_emb\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/configs/xrecsys.py, phoenix/xrex/configs/xrecsys_two_tower.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/xrecsys.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f43cef74ec3e346b8f549d12438df085d5be45f12a272897bb4b1bd0a4bf3a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060new_post_ids is not None and new_author_ids is not None\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/data/rust_kafka_recsys.py, phoenix/xrex/data/streaming/kafkaloader.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/rust_kafka_recsys.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ef803501e0ee9971fd067c732af48f73a6995d6f44fdb644ca80d98efaa040"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not annotations or not annotations.violatedPolicies\u0060 appears character-identically in 2 files \u2014 grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py, grox/flows/ptos/task_write_live_cluster_anchor_verdict_sink.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8580b2ef6f8fc63453fc1243bace33f7efd42b4f9a92608ecb22a450b6783842"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not bootstrap or \u0022:9094\u0022 in bootstrap or \u0022scram\u0022 in bootstrap\u0060 appears character-identically in 3 files \u2014 bdsm/runtime/batch_prefetcher.py, bdsm/runtime/gpu_scorer.py, bdsm/runtime/score_results_sink_focal.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9749b77880c7726e589a5ad77cb8461ded8ba9c8b6946ac8c03afb54893262ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not cls._shutdown_event.is_set() or cls._inflights\u0060 appears character-identically in 2 files \u2014 grox/core/data_loaders/asr_processor.py, grox/core/data_loaders/media_processor.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd91a5e2d39e5ad41d7ebf9147c0bc22754cda48d974fcb9a4099ee46297abd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not hasattr(self, \u0022host_state\u0022) or self.host_state is None\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/inference/model_runner.py, phoenix/xrex/train/trainer_recsys.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a0fa8911c49381af51be7d846835fc302f0d6e81cf39713026bc1206e97f1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not os.path.exists(cert_file) and os.path.exists(\u0022/certs/client.fullchain\u0022)\u0060 appears character-identically in 3 files \u2014 grox/libs/kafka_cli/consumer.py, grox/libs/kafka_cli/mtls.py, grox/libs/kafka_cli/producer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10441b214ff64cc700ba535153b87ca5d808007b0fd0a814bee723729320c0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not os.path.exists(key_file) and os.path.exists(\u0022/certs/client.key\u0022)\u0060 appears character-identically in 3 files \u2014 grox/libs/kafka_cli/consumer.py, grox/libs/kafka_cli/mtls.py, grox/libs/kafka_cli/producer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9b87098d0b4f823e9742a4af9ba75d1a27f429981e363c23531f50443e30bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not result.spam_post_ids or post.id in result.spam_post_ids\u0060 appears character-identically in 2 files \u2014 grox/flows/reply_spam/classifier_coordinated_spam.py, grox/flows/reply_spam/classifier_multi_step_reply_spam.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5851515cfdf11bd499316fcfb20bf9bd643417279af76e660c40cad77e9121b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not self._is_shutdown() or not self._task_queue.empty()\u0060 appears character-identically in 3 files \u2014 grox/core/data_loaders/asr_processor.py, grox/core/data_loaders/media_processor.py, grox/core/engine.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"690318d69a90d683f18ca94648faa072630e35b344a1d0e04f7ed3209b904b1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.path.exists(cert_file) and os.path.exists(key_file)\u0060 appears character-identically in 3 files \u2014 grox/libs/kafka_cli/consumer.py, grox/libs/kafka_cli/mtls.py, grox/libs/kafka_cli/producer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e04fbc3d638dc245ae7f78ded107b6740e0eed57c70bf7dfa4acf1339a586a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path and Store.from_path(path) != Store.FS\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/inference/checkpoint_storage.py, phoenix/xrex/inference/model_runner.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/checkpoint_storage.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d126ab2462ea9108ef315de9606a0c6092ede74ab4d68919e95da0377418f2cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pe_key in host_state and host_state[pe_key] is not None and pe_key not in tensor_bytes\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/inference/checkpoint_storage.py, phoenix/xrex/inference/model_runner.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/checkpoint_storage.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1da7043315c580705b222168203fcdaf8486b3a04c65cbe191fb4475e868ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060post.ancestors and post.ancestors[-1].id != root_post.id\u0060 appears character-identically in 2 files \u2014 grox/core/data_loaders/data_types.py, grox/core/data_loaders/post_mapper.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/data_types.py"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"814f55f27fcc741d80a4ffeb536ed191cc9dcea7cda659e1b53938cc0765204f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060post.ancestors[-1].user.follower_count or 0\u0060 appears character-identically in 2 files \u2014 grox/flows/reply_spam/task_filter.py, grox/flows/reply_spam/task_spam_detection.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"230c9ed82d934d31526d5f9fb853637267c61ec01beb18dc4fb06589a967eb12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060post.ancestors[0].user.follower_count or 0\u0060 appears character-identically in 3 files \u2014 grox/flows/reply_spam/task_filter.py, grox/flows/reply_spam/task_multi_step_reply_spam.py, grox/flows/reply_spam/task_spam_detection.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc259e04c205ccf6c05d2e47ad654c8530c09b7838d6c1debfd3a28d0efd4d72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060post.quoted_post and post.quoted_post.media\u0060 appears character-identically in 2 files \u2014 grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py, grox/flows/ptos/task_special_video_screen.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5badf99ed8844cb11eae7a8e1fd0ba83c9ce5e52c22f654c1e5ea25e643334b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060remaining_budget is not None and len(frames) \u003E remaining_budget\u0060 appears character-identically in 2 files \u2014 grox/flows/mm_emb/renderer.py, phoenix/reference/mm_encoder.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acd82a60fe82df168d826d6382cdd663b9def672912d4d08d391480579a6e7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resume is not None and resume[0] == window_start\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/data/parquet_recsys.py, phoenix/xrex/data/rust_parquet_recsys.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1508}}}],"partialFingerprints":{"codehealthFindingId/v1":"374077c4a971db83d52eca84854c2d904fd564502cc87eff4f9ef4eb13d27d01"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resume_position.get(\u0022batch_size\u0022) or batch_size\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/data/parquet_recsys.py, phoenix/xrex/data/rust_parquet_recsys.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42b221f09dcb26cfdcba575c5abf236d46468de7756cb0cb01b594661d070a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060safety.get(\u0022nsfwUser\u0022) or safety.get(\u0022nsfwAdmin\u0022)\u0060 appears character-identically in 2 files \u2014 grox/flows/mm_emb/renderer_v82.py, grox/flows/mm_emb/renderer_v8_search.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"9592deef31dbde64e92946bc1fbbc522318b31b26b8eccffdde04e4bff823ad8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060safety_annotations.violatedPolicies or []\u0060 appears character-identically in 2 files \u2014 grox/flows/ptos/task_safety_ptos_category.py, grox/flows/ptos/task_write_safety_post_annotations_result_sink.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_category.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"875c6f95c4a60f2865430eedd289514e2a06b154ccc81dae4a5aee8b088e5cc7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self._process and self._process.is_alive()\u0060 appears character-identically in 2 files \u2014 grox/core/dispatcher.py, grox/core/engine.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/dispatcher.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"7451d001b228b57f7bcc36f222ca6a8e713c52c17189b8c19a21f717ce2eb4ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.max_steps \u003E 0 and i \u003E= self.max_steps\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/eval/eval_utils.py, phoenix/xrex/eval/recsys_eval.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/eval_utils.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5c4d396849767a1b3533fc09582f9146905dca4254f1beffadf3f3fecd08bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060seqpack_layout is not None and seqpack_layout.candidate_token_to_slot is not None\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/models/recsys_model.py, phoenix/xrex/models/transformer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/recsys_model.py"},"region":{"startLine":4577}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa25fe380488f7b16c662ebdf10911215a6c797ee79d67263bac4a6a84583f3f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stop_event is None or not stop_event.is_set()\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/data/rust_kafka_recsys.py, phoenix/xrex/inference/model_runner.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/rust_kafka_recsys.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc264f9868eb3f8a341dc333f9b23a38748c9bb95cc1a02d7f0b2e99471b870"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060type(shard_index) is not int or type(num_shards) is not int or not 0 \u003C= shard_index \u003C num_shards\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/data/streaming/kafkaconsumer.py, phoenix/xrex/data/streaming/kafkaloader.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"c711a21d18750bf24af0144e7324cf248722b1fc9414071c3a5fe8d3e378ea38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user.signup_country_code or user.tfe_top_country or \u0022\u0022\u0060 appears character-identically in 2 files \u2014 grox/flows/mm_emb/renderer_v82.py, grox/flows/mm_emb/renderer_v8_search.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"3353a9d5f346e288aef35b1e1cb137ab899a8d56f7e5044eb9ba983f8368ec88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060valid_block_upper is None or valid_block_lower is None\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/cutedsl/ranker_attention_fa4.py, phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efe83cecc9d1884a58eb8ae4e98daeec7a093cb2548e31aafb4928357d8abd9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060valid_block_upper is not None or valid_block_lower is not None\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/cutedsl/ranker_attention_fa4.py, phoenix/xrex/cutedsl/ranker_attention_varlen_fa4.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_attention_fa4.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bbcc9c3c895d9842d495ffe27e8ead048758bb025caf1ab6c0a785e4379f5b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060weight_decay_exempt_window \u003E 0 or stochastic_rounding\u0060 appears character-identically in 2 files \u2014 phoenix/xrex/cuda/row_emb/row_emb.py, phoenix/xrex/optimizers/recsys/rowwise_adagrad.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cuda/row_emb/row_emb.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b2e03702234a914ad5bdf203f7502bc1419086804a99fa0b37da2a7cbcdb77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!harsher.is_empty() \u0026\u0026 req.confirm.as_deref() != Some(CONFIRM_WORD)\u0060 appears character-identically in 2 files \u2014 abuse-enforcement-service/service-lib/src/action_control.rs, abuse-enforcement-service/service-lib/src/action_control/levels.rs. 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":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":2345}}}],"partialFingerprints":{"codehealthFindingId/v1":"8640b1efb552e9beffcd91f2544ad753b04966594bcf0ac2d744593d56c978be"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!self.refresh_due(now_ms) || self.refreshing.swap(true, Ordering::AcqRel)\u0060 appears character-identically in 2 files \u2014 home-mixer/util/popular_authors.rs, home-mixer/util/popular_posts.rs. 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":"home-mixer/util/popular_authors.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"731c6b5173852b79b67097618c9c7030b382d1bd4afc340369d12887f12209dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060access_key == \u0022anonymous\u0022 \u0026\u0026 secret_key == \u0022anonymous\u0022\u0060 appears character-identically in 2 files \u2014 phoenix/crates/serving/xai-recsys-engine/src/checkpoint_store.rs, phoenix/crates/serving/xai-recsys-engine/src/storage_util.rs. 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":"phoenix/crates/serving/xai-recsys-engine/src/checkpoint_store.rs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7838accecc1f0d82d0b7066c712257c8ec6d22fd6e3b4e62efcf9450bfaeb3cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate.in_reply_to_tweet_id.is_none() \u0026\u0026 candidate.retweeted_tweet_id.is_none() \u0026\u0026 candidate.ancestors.is_empty() \u0026\u0026 candidate.following_\u2026\u0060 appears character-identically in 2 files \u2014 home-mixer/candidate_hydrators/ai_trend_feedback_context_hydrator.rs, home-mixer/candidate_hydrators/topic_feedback_context_hydrator.rs. 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":"home-mixer/candidate_hydrators/ai_trend_feedback_context_hydrator.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24eb6319366acb926cd221670e05bf987275819edbbf1be99d59d3b500396a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060experiment_buckets.is_empty() \u0026\u0026 random::\u003Cf64\u003E() \u003E= DEFAULT_SAMPLING_RATE\u0060 appears character-identically in 2 files \u2014 home-mixer/side_effects/response_diversity_stats_side_effect.rs, home-mixer/side_effects/serendipity_stats_side_effect.rs. 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":"home-mixer/side_effects/response_diversity_stats_side_effect.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9ab2be200fcf9eb65cecddd03677d8aa864a2eac508f913bd6d9f85249d627"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060failures == 1 || failures.is_multiple_of(FIRST_LOAD_ERROR_LOG_EVERY)\u0060 appears character-identically in 2 files \u2014 abuse-enforcement-service/service-lib/src/head_guard.rs, abuse-enforcement-service/service-lib/src/off_switch.rs. 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":"abuse-enforcement-service/service-lib/src/head_guard.rs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"8299a1c02f5c00e5de7801b8da356e938a4bc46da9d8b70d52254aba33a5eae0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060failures == 1 || failures.is_multiple_of(REFRESH_ERROR_LOG_EVERY)\u0060 appears character-identically in 3 files \u2014 abuse-enforcement-service/service-lib/src/action_control.rs, abuse-enforcement-service/service-lib/src/head_guard.rs, abuse-enforcement-service/service-lib/src/off_switch.rs. 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":"abuse-enforcement-service/service-lib/src/action_control.rs"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde7cfa0c1b6f7d4e4f4adcfb7534e9c52b287035d3ab11bd6e673d367b80c45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_prod() \u0026\u0026 query.params.get(EnableUrtMigrationComponents)\u0060 appears character-identically in 2 files \u2014 home-mixer/side_effects/client_events_kafka_side_effect.rs, home-mixer/side_effects/update_served_history_side_effect.rs. 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":"home-mixer/side_effects/client_events_kafka_side_effect.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"97732a4c807cb2d7e7f9a3479ea0379d9b64d1773a4329f7eaaad64fb329a0f6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.is_empty() || line.starts_with(\u0027#\u0027)\u0060 appears character-identically in 2 files \u2014 abuse-enforcement-service/types/src/allowlist.rs, phoenix-rankall/src/processor/blacklist.rs. 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":"abuse-enforcement-service/types/src/allowlist.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7206560914d8ec892d87671419875d6dc82d1fecd7e90548831255eeb7345ffa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060post_id == 0 || author_id == 0 || index_name.is_empty()\u0060 appears character-identically in 3 files \u2014 phoenix-rankall/src/processor/main_processor.rs, phoenix-rankall/src/processor/sid_processor.rs, phoenix-rankall/src/processor/topic_processor.rs. 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":"phoenix-rankall/src/processor/main_processor.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a32ff0423eb8705ed3b6624bb5a34ce656fe6d9a7688b445bb1189ca4ca7343"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060query.is_topic_request() || query.has_excluded_topics()\u0060 appears character-identically in 2 files \u2014 home-mixer/candidate_hydrators/filtered_topics_hydrator.rs, home-mixer/filters/topic_ids_filter.rs. 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":"home-mixer/candidate_hydrators/filtered_topics_hydrator.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fa177a37293a2b1901e780413175d857af28e19a0fa362e8c14b931a7917d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060query.params.get(EnableContextFeatures) || query.is_shadow_traffic\u0060 appears character-identically in 3 files \u2014 home-mixer/query_hydrators/followed_grok_topics_query_hydrator.rs, home-mixer/query_hydrators/followed_starter_packs_query_hydrator.rs, home-mixer/query_hydrators/user_demographics_query_hydrator.rs. 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":"home-mixer/query_hydrators/followed_grok_topics_query_hydrator.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5abdcd90354485e58b364e41bbffd2ffb83f8c0a447b0e22e6bee09237a435"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.bsr_low == 0 \u0026\u0026 self.handle == 0 \u0026\u0026 self.keyword == 0\u0060 appears character-identically in 2 files \u2014 home-mixer/ads/health_metrics.rs, home-mixer/ads/partition_organic_blender.rs. 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":"home-mixer/ads/health_metrics.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf1b9257d0fabbdf26d78b3242b228673640e44294203a62faabbf37d85e7aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.bsr_low \u003E= self.keyword \u0026\u0026 self.bsr_low \u003E= self.handle\u0060 appears character-identically in 2 files \u2014 home-mixer/ads/health_metrics.rs, home-mixer/ads/partition_organic_blender.rs. 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":"home-mixer/ads/health_metrics.rs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"624a8f803d5b2dce34ae7401404b9e5327b01e664626ee1cf7f511a6a03ce9a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tweet_info.author_id == 0 || tweet_info.tweet_id == 0\u0060 appears character-identically in 2 files \u2014 phoenix/crates/common/xai-recsys/src/util.rs, phoenix/crates/serving/xai-recsys-engine/src/util.rs. 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":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b8d4a60792d563d791f65b8e3e8fe0aac5f4f1d767806ba6a5488f860b5ba5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!parseTweetId(sourceEmbeddingId).contains(tweetId) \u0026\u0026 tweetId \u003E= earliestTweetId \u0026\u0026 tweetId \u003C= latestTweetId\u0060 appears character-identically in 2 files \u2014 simclusters/simclusters_v2/candidate_source/SimClustersANNCandidateSource.scala, simclusters/simclustersann/candidate_source/ApproximateCosineSimilarity.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":"simclusters/simclusters_v2/candidate_source/SimClustersANNCandidateSource.scala"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf235d9fa6748d1ac76df0eb0ae7ee3a12b328f8d41e79da5ce9dd90ae6c9091"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060QualifiedNegativeEvents.contains(actionType) \u0026\u0026 tweetInfo.actionTweetAuthorInfo.exists(!_.authorId.contains(userId)) \u0026\u0026 !isTweetTooOld(tweet\u2026\u0060 appears character-identically in 2 files \u2014 simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala, simclusters/simclusters_v2/summingbird/storm/TwhinUserJob.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":"simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbb9edecca5fb1fe4c64d6b3d880542275e6306cbc44f6a8255c84ddddb0a7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060QualifiedPositiveEvents.contains(actionType) \u0026\u0026 tweetInfo.actionTweetAuthorInfo.exists(!_.authorId.contains(userId)) \u0026\u0026 !isTweetTooOld(tweet\u2026\u0060 appears character-identically in 2 files \u2014 simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala, simclusters/simclusters_v2/summingbird/storm/TwhinUserJob.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":"simclusters/simclusters_v2/summingbird/storm/TwhinRebuildUserJob.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19718456f07548f79d6c656cac3f8fa60dbd99b9a7d0cc1f0588a3fdf2e33f8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060QualifiedPositiveEvents.contains(actionType) \u0026\u0026 tweetInfo.actionTweetAuthorInfo.exists(!_.authorId.contains(userId)) \u0026\u0026 !isTweetTooOld(tweet\u2026\u0060 appears character-identically in 2 files \u2014 simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala, simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildUserJob.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":"simclusters/simclusters_v2/summingbird/storm/AdsTwhinRebuildTweetJob.scala"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bd110cca51054dccbb51c716d7565174077ac19c501d7cd19528da30633302"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config.dateRangeFilteredSnapshotPath.nonEmpty \u0026\u0026 !config.snapshotUnion\u0060 appears character-identically in 2 files \u2014 under-the-hood/scalding/UthDailyPostsBackfillJob.scala, under-the-hood/scalding/UthDailyPostsJob.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":"under-the-hood/scalding/UthDailyPostsBackfillJob.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb97ff554eae700da91973812c6f20699ea16bc9f4e3c7d01b09b4723846434f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060createdStr == null || createdStr.isEmpty\u0060 appears character-identically in 2 files \u2014 under-the-hood/scalding/UthDailyPostsBackfillJob.scala, under-the-hood/scalding/UthDailyPostsJob.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":"under-the-hood/scalding/UthDailyPostsBackfillJob.scala"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"99583c76cb9cb1189b018b4484e922b9362a2855cec64f6f5904119b4243e35e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expiresStr == null || expiresStr.isEmpty\u0060 appears character-identically in 2 files \u2014 under-the-hood/scalding/UthDailyPostsBackfillJob.scala, under-the-hood/scalding/UthDailyPostsJob.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":"under-the-hood/scalding/UthDailyPostsBackfillJob.scala"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e24ed3cc868b4c116ac5cf5b3dc30d9804b40a31978e8d0f0fd391d7915a0a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inScope(testUserIds, t.userId) \u0026\u0026 t.shareSourceTweetId.isEmpty \u0026\u0026 !t.nullcast\u0060 appears character-identically in 2 files \u2014 under-the-hood/scalding/UthDailyPostsJob.scala, under-the-hood/scalding/legacy_experimental_adhoc/UnderTheHoodPostLabelsJob.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":"under-the-hood/scalding/UthDailyPostsJob.scala"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d40e30147fccde36e820ba9dc024ff28bf4f506bcda725889f906722903fcff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m.userId.isEmpty || m.success.contains(false) || ts \u003C minTsMs\u0060 appears character-identically in 2 files \u2014 under-the-hood/scalding/GizmoduckSafetyFlags.scala, under-the-hood/scalding/legacy_experimental_adhoc/UthGizmoduckSafetyFlagDailyBackfillJob.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":"under-the-hood/scalding/GizmoduckSafetyFlags.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e113ddb6aa87026c45fe08e9196cad9e957c501fdf4a8bc5545edf9392d60da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060notTestAccount(e.userId) \u0026\u0026 notTestAccount(e.tweetUserId) \u0026\u0026 e.userId != e.tweetUserId\u0060 appears character-identically in 2 files \u2014 agatha/scalding/data/loaders/FavGraphDataLoader.scala, agatha/scalding/data/loaders/FavedTweetsDataLoader.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":"agatha/scalding/data/loaders/FavGraphDataLoader.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"91332e6e823e31ed975be8997d79ccf917f538cf4904aa5e7d3358aaaf33f343"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rangeStartMs % DayMs == 0 \u0026\u0026 rangeEndMs % DayMs == 0\u0060 appears character-identically in 2 files \u2014 under-the-hood/scalding/UthDailyPostTakedownLabelsJob.scala, under-the-hood/scalding/UthDailyPostsBackfillJob.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":"under-the-hood/scalding/UthDailyPostTakedownLabelsJob.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"000a8680de324c5a00ac67813e5b5355793ec939ff5b4186e0b1ffc9502a23e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tweetId \u003E= earliestTweetId \u0026\u0026 tweetId \u003C= latestTweetId \u0026\u0026 tweetId != sourceTweetId\u0060 appears character-identically in 2 files \u2014 simclusters/simclustersann/candidate_source/ExperimentalApproximateCosineSimilarity.scala, simclusters/simclustersann/candidate_source/OptimizedApproximateCosineSimilarity.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":"simclusters/simclustersann/candidate_source/ExperimentalApproximateCosineSimilarity.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ba0104acc7ad379aaeeeea2adf2efb283397847b5c1272a0af2a0c31c79607"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tweetInfo.actionTweetAuthorInfo.exists(!_.authorId.contains(userId)) \u0026\u0026 !isTweetTooOld(tweetInfo.actionTweetId)\u0060 appears character-identically in 3 files \u2014 simclusters/simclusters_v2/summingbird/storm/TweetJob.scala, simclusters/simclusters_v2/summingbird/storm/TwhinRebuildTweetJob.scala, simclusters/simclusters_v2/summingbird/storm/TwhinTweetJob.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":"simclusters/simclusters_v2/summingbird/storm/TweetJob.scala"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fdcf55aedc39c2875ec212bb6e04bc5e253698e2720165c59d2301e56e44f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060userInterestsRelationSnapshot.interestType == \u0022UTT\u0022 \u0026\u0026 userInterestsRelationSnapshot.relation == InterestRelationType.Followed\u0060 appears character-identically in 2 files \u2014 simclusters/simclusters_v2/scalding/embedding/common/ExternalDataSources.scala, simclusters/simclusters_v2/scalding/topic_recommendations/SimilarTopicsFromTopicFollowGraphApp.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":"simclusters/simclusters_v2/scalding/embedding/common/ExternalDataSources.scala"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1280b828e0a1c39136d68f215cbcc4f7925283c5b1e3cd7ed00d4222c69e82"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 595 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/aot.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc595db2c37058860591fcc1f649dc3af0e0ea8106c69264525baf55663ca63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 620 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/aot.py"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ed13b3347eab3c0a0122bc134b6f07969afc347c7386ce3a5a8fda599bc5c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 627 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/aot.py"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fcc196510e579a6a0065e62a204a9802a6c0776e7debfd578d88aa49e3d724"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 629 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/aot.py"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f65e5f1e94afe58cf5966c1d30a3ee5ffdaae54b013e0ccbaa5189434e13d63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 663 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/aot.py"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"b654b773d27e24bae04e8631f421b2819e2712cc95051d62564d5b11815d0557"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 696 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/aot.py"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0cd8ecfd9bdcb2ec5ada17a99c19119b304931727847ddbfaab71b86d626e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 101 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/gpu.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9a461f101f9d39a7be663fad780021b095576ae4cc8469d7de11d7a7368fc1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 103 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/gpu.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4215ced3be50b5b7ed52a5c3313841e5885184f5a89cc7952a938dad4387f048"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 166 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/gpu.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc456ff74dedf3bca4514892d3b20c2823b90de16684eb41302046f962dcfac1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 211 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/gpu.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6e1d888758268449200407d9fd178bbc6f3a614ba0f0f027b083f9c29c84a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 298 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/gpu.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"72352e1776695d8edf926e23f7b96d155cdb79b205d61493be0e44c93b52dafe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 303 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/gpu.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca3355845b1a79923b17ab22f24be391897c44f0736f87e22b8fed1f0651e86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 306 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/gpu.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d155d60fc55881ace12548c406118806c2b2f04ca0c916d45b4998f1cc808ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 308 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/gpu.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"974a674c0f677300d3d9f99f82638a0b10e4c653cccc6d6cbe852f87ab2eb44a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 59 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/jax_extensions.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f94d583e98eaf2b4cddde631f5524d71135085583e3977dc893e212f6af1fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 76 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/jax_extensions.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b43ed45bc3d25de4cc7601e0aa5d57ce804ce018828f4ea4784f4e92f2c8bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 80 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/jax_extensions.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f677786a13837418c75546b4ae2d7185bdf55df693755989dc99343cd704ef1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 83 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/jax_extensions.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"977ad1795b19f8f02179d5176c72e4957f8c65b41a020e0afb4d58ed78c6d16e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 84 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/jax_extensions.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87822ac3bcb174ddd171677baa1438dac4c11e38bc215c9d0e6a209cf2632ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 102 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/jax_extensions.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1592baad018ab63e6b1824de31dcc53ad58d269983a6776203c44aae93af69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 75 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/log_timer.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"094e8025f08c3e2d3dd7a95a36def38e152313a30f922b196e610038088251c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 96 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/metadata.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5706c57e3aef84e3a8fa2f7d897c06c2c614a87ada590313b5f08d51b10710c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/metadata.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc8fed9dfb1e57888fabcc044d045703da998dec789ea10014aa4467897c5e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 499 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/metadata.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"2959208bf38208402aa1560120fd4c3846d07618a55f6f8fcdc05768de1af215"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 508 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/metadata.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"3febd4e9232ad99a534fb079ae58b4fc03df70c20679afee4d31ec256b9b9334"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 551 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/metadata.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ae8e39d1bee302ec47da5e11a68b5ff3b473ec72fccd5a5feb53922c0f7eaf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 565 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/metadata.py"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"24594320a6c93911b71b31087155a8598c53204ac33b26e078fc5ca7db6c00fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 597 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/metadata.py"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f96b2c8d952ebfdebd3e9ed66f7b0f50a119fd623452ca6ace2a737a4027c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 18 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/nsys.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d833e298077668a97436f6ee1fa0ea072a34802a41e47de0d8efe3721a9815"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 24 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/nsys.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"369329978b351a22d7ab26abd63161f1b91a571e4f452c718f28888c3872df7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 26 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/nsys.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee30253d204f966cb082b8487e834f56baa96bec5c1d5972ad18c407f985ffc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 36 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/pyspy_profiler.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b143e5f5ff7383735c06beee29f0e0135059b41f6fe15a098b67ceab8a4007dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 70 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/pyspy_profiler.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f25af22bdac682347a1906c246ad6c6678d5eb17c5af5436accf430e8066626"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 73 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/pyspy_profiler.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea108a9c68ed9a569e89fd32a735b09f1f84861acea338db4cd4c24197f0b6fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 49 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/utils.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6d80b0de3806d444aa89a2f050425aceb0c84e8d75f6bb3c356fe370046634"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 219 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/utils.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c482be92a25682c57fad2a76041d85d0eb7bc15a652b92fc16cf2dc310a09c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 240 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/utils.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ea5cfad81b764f2204e5eaa81df9e8e1f1d548208f4756c42cdd55a10bf232"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 255 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/utils.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f30f4749870f70722af7a3a7315bf9c7d9d6099331c5601e8d4e89114297d19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 311 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/utils.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac1a501f4be038266885298a17a27192438fe481dcc3e9c653300f40648a7c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 312 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/utils.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"4059f385ea422dcecb6d5711a7d798f34b0a822c2e4cbc99507afc719b6c10ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 32 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/embedding_loader.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4837a167e17d805e9a749f95e348f4ed0c65322b7834e8381e7ce36d73705ba3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 54 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/embedding_loader.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00bf4ffeed396169c73eda7b1746d76e4d25754cddebe48520542307139b5f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 88 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/embedding_loader.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a941ce2f9ad064d3e72995be62a31782863217dd525f9c71743d4de75f99c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 161 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/embedding_loader.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bb395ae4fcc9f91e78232baa2f48b911067e0b53c21c9e2cd420f813520be8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 183 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/embedding_loader.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca72e27dc6c6abd9eff546ca7938ddaf7d6e4c4c958f7c7d0d4144cf08de1e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 329 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37b09f57b512fbd633deda975697c3ec87353e2e5013b0992c7a83d2f36eb75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 391 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc0737e93b76dc65b607016c6412520f11a53aa55d7f174654e4ba9e17b1cad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 607 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4abf97958007129a05b60b0c31022a9661348f05e6ecac2888db68440d8451"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 919 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"287a11acd17d5cfcccf92cf965800d92ced9b03013f3fed91951c9ccb90c6862"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 944 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a33219345e25ba562d621f1e52a4e30cf801a12a3dc5d25f3a21f99cbcffb80"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 945 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc8102ef7d01b19486a5d02fd4039daf23147d20005a23e53f4f364d87ec988"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 948 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"54709cdb6bd2b8b95e76287fcbe027f660d3e7fb492fa3efc42f3662fa7bafea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 951 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f03842697adeed74eefa103d1e37b815a8fb37c31527a958b7b6928ab89167"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1076 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64195e3f7b82e79a58cf07a7e8ef6600eb4f4c5afd90abb857e8cf994bf0e76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1117 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"210916e5b6fcbd5016d24c47d669ed4b2d4815ab4a4c278689ee4aed07c5d794"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1599 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc990e615c2d28a67e4549f3ba27de70986de7691587c68e606bb1ee8db8e92d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1615 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f72b623ad0bf078b86c10d1acaf6673415115599d47dd9950620861f29a562"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1671 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":1671}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8a1cbc4d91c07ae96dfbf2ce3070bf925c1a8bdd3cb5f7346d893ffbf69d222"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1689 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer.py"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db7f6851f52400977d5238c99eefc5c0da18ba1ba01f1e6ba48a0fb3fe0501f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3926 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":3926}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d7c48e654c52f1e530faae3202ef869e154429724b4fe773d4964e8f7f1a31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3979 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":3979}}}],"partialFingerprints":{"codehealthFindingId/v1":"8040bdfcf268863945914391122aa91a24331efb583b6400be888f8cf95ab238"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3992 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":3992}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3edbf712c0812e82d4ee780d96891da964a026671e3c4cd31c195c01fe9e78f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4551 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/train/trainer_recsys.py"},"region":{"startLine":4551}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50441af955db915efe363a4c87c9210e9d1cb6a391f3ac5398a02c3d60bcfb3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 81 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/sharding_context.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5c6167aba013e9a301389edf67d4be9008eefba0d07ce9fcc21e2907505385"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 88 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/sharding_context.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bef5ac5fbab5c28f47f7bf75be98636a83f97a8f5d3789ff5987a4d8920e1f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 102 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/sharding_context.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b38a0bea6944ed0a953285ba9c2cbb322f0f7f86fcf8478ffbfd7502976ec0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 63 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"85560231fddf7a0677fb9bda392108da913870c4e8c5b2fa12b73a19837f9f16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 68 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"82de17df46858dfc03ff7f54ecc29c4a6e2fc413a81c1bd1661c6a10378e2a66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 99 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0d9e9499a592cdfd211acb2ae143fdb9a45544402d8e390816ee5fdfe2c24b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 104 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3608c1f17eb6215f83f1abf034866c8e29d1e4954bad91e5d8f58413bbd06b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 126 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"805e8389c162c9cd6979f04f6c5d64ccc5860a175a17a7124c50ef31aa631a6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 181 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f683c35909753dd73af31a494fdcb6f89cb4d0fb6d0f042ebacd3b2df76788"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 234 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0f8a4c8aa3d76d6a2edcf2c00e3bcfcee4e110628b04c39deca8199f748bc5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 251 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e0e0619ba51b9d0d8d95dfcdd1085ee928273a200cb4e756d44b81a7289141"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 259 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"149a067850eb70887236dc8db3f816bf3297124af7510865ee54bd5455d38bd7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 278 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f49740683491b445c4700d1e071f2348ad8902e13620fc8816d0e6511d59d31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 292 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"048417aa958b19650f257bd23e3c6aae4a69345a9fb1c542e2a461f5835b9a04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 374 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/h2d.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2efc8fb36bd678ee5372d0933748d7920e9ea4575f8cb4f2e58d72e460179a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 435 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_inference.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5935ceab88e1da6815070400dd4a3e3e5084f1acb0386cb00c14a7e3a1ef616"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 61 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eddbd2fef6919afb60766472539117b2a630a56aed668c8c698a14cdd38dec0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 69 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7fb64f5b17383b8e05e8b6edda5f22b5457c2ac7f631cd9129db8a5e33612f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 75 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f7c882979d5e4e93a9d2c2f6bf5ada3657dbdbef402e8bc56a3d903c50e610"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 117 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b278ca439567b536c14ba9e910ca25f6e3ec7132680e1d6f3397726083b7f4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 200 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42e057609abaae2f3a58a7b68ea48da31192ab7549babb0571acc152a199c97"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 233 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48eaae47e7783c83aa9d2a14ac0091cf1ec19eca0a19a9815e810164878bbf9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 238 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"16320d91f29fc79017cf009ca90e7f43f0120904424b96c3387deed3cc21930f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 262 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4320f208efa5af5a4b9dcdd2950ed17ee6aaee959c41228c4c7e83a2adb8031"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 294 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed873c4dd92e435c5de26b4900150338f1f253bee5f3562a4f2ff963bad8c46e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 296 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"15720190ca2d0f78950c1dfa34599e9bc942a9e7c91d29c6e22bf93992d10d5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 402 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7e2336bf34adc6c0327dbfc50867cb434aae77de76e9822834d13342dc2c59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 408 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"0526a852b4a213f880d0e63be3f6539f030ea5f57ff70beb6f1c49fec4a1a9d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 519 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9c9fbad32177db17e0bd9604b2d499ff21cbe8f7ddf2fc1d5bd36d419bd4f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 533 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d021cc13e661fe4b979cf752fea6e37a3d0f6f635ab71a8029945973f21d96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 663 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fb291a90d5ad4e71b658cf2b8457efc1af7cf3d9fe9705efda6e08a312e39c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 682 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d051bc57562f3189cb85bded8774bb1025e859d1fb8b68891e4b03008983fa9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 690 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd8a7287ea5d0ea3e8f2d2345cd52774623a04f5f20f0990f6ef588b7975ad4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 701 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9fc4abc4221970d480ac2ed0af0b21883b1144fa05e1c8e1b7c34ae783fbed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 716 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6737e9a6f6312dc3eafc7cca12c606093b8196ce4a43b362f9166e03353a0ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2257 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2257}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0fd44d6f862072964bab7faa53301ce0097a4af6567fe05d4e459e8348a548"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2279 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"430fe1ed5ccad5a55f9fc4327fdb14f832918304deb86b4dfe00a7e883c71c0f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2284 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1435239b3c4ed9ff9310c719a2d14b5c34d2c6e4df908bf1b17c61b759c1d5c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2297 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2297}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6cef30dfdd958398c8d8f77ac0c1826dfc8a7793c6eb220d6357be2d2d91059"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2370 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2370}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb42aaffa95369257613f68e287741fade29718c72b88538b1b40444612005da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2376 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d75b5956fb5bd0406bc211009942fec5c24f990f6d3e1c050a52f855e494743"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2396 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"215171bb8c8a1ee0e69c8bdc2c736ae85c922d0489bd5e87a69d1283dbec30ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2400 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db80e0b1c955caff22756bcfae0b78114c6664da5031d4fb43c3c554a85ec9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2489 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2489}}}],"partialFingerprints":{"codehealthFindingId/v1":"71989d2bc0df7e15f250795db51c97493aeb209280972f37d2775e4bb432afb6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2525 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2525}}}],"partialFingerprints":{"codehealthFindingId/v1":"721ebef6e296ad5da9d7d6cee267f0a5e905ea602dfe0455ec75f393718c2b7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2529 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5befadf437666cb6d14fc66671996f896419d53077318954e2629cf9319881"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2543 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"6624c0414f1c242b5fb4c8e225924aa15dbb7fbcd9e5c99ba4276210719e07be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2705 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"156c501e8550304128b514e5612bfbd059682816929b8df4dda198e3b249602f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2724 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2724}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb0da72dc3aaddfb1daae9eeed15ef99f8e50f0686fffe9cecf51825bd2383d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2796 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2796}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e431f45746af0246336eedd6c5881287086972f8fe658de61cd3163a976971"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2799 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2799}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b224ea11e3984a34ea15c51ee88600796d8ceed650ee2027dff29e3d864329"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2803 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":2803}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e80f9e6ab1cb6470dc2f64c452f3dbf11c72613bd4bf54efcf3ecf6ef86b79f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3017 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3017}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84a24144edaa8837be83eccd04e749ba136aea790fc439cb795225a9e929617"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3039 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3039}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9374c49878738b6c211be46e93132ebadaa5fa5b1f97d2a9d35a17e9b73082"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3049 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3049}}}],"partialFingerprints":{"codehealthFindingId/v1":"beebc707d6c90b1d47c834d94ce66d3ddfa1c1cbc66e34e922e99a431f884f79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3082 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3082}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1a5e609f7c3e9e4feb9d7efffd10dbbddb9f353438e45d0f785f1192c8aa38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3094 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3094}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cec6b6ad61767c975448a3a797d96144b25e7f07d9ea226bb3dfb027f638633"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3117 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3117}}}],"partialFingerprints":{"codehealthFindingId/v1":"726317c892ea43a066b8e88b0608d4746bcb5a8fa960cd00e8787da21827f508"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3329 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3329}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d5453f1357944373f2e02f293c57333bc370f8faed6388d054ea519fae5dfa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3338 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3338}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2f0fb5f789a198a848cf8fff7defe75a87bdb7f598f01c152ff83ab6be22cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3347 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3347}}}],"partialFingerprints":{"codehealthFindingId/v1":"20085dc47ea4e3addc96a7e56eae7593604cabec3d7d156ae79dbf37ee5a30af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3357 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3357}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dae3cb23cee6b729a4c131213d0efdc42eff5a6cbf30ca40903f50838be1ac4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3373 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3373}}}],"partialFingerprints":{"codehealthFindingId/v1":"a006296832c02c317d010e399c03e2d2faca03920f025ffa443fa66cf89b68d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3398 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3398}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45f1d64fe1faf74b26a98f0ccd9226fba05faf657728f1d88cbd9e8944c3990"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3409 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3409}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd035d74f1dfaaeb81f2935666a8f9e7dfda4da3d4df584456b4b9445e2ad64"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3422 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3422}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1a3f7fcc72bf691959c593f7b6a54d134a8d755c28adaa5294d44e7866efb2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3447 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3447}}}],"partialFingerprints":{"codehealthFindingId/v1":"b145751c9baa22b73458ab5bfbc416c9ee1314c0629162dc2fad488e08504e08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3532 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3532}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b08192e9a703ec032d0e2074ebac74872bbb4f5eea8e6fd7355fdda326ad25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3557 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3557}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c61d7f63367bc7b98844aff6b96428f5d568dad801ed987646687f86800a1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3576 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3576}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b9453cf896aa09c4b7e4250ef51993a6362079c0ba5cec705be63cf46fdd92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3579 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3579}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f24c5b379ee80c5f90a98f06ea264d8fb3252917fc14461b729ecd90bfab75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3592 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3592}}}],"partialFingerprints":{"codehealthFindingId/v1":"9551e989ace0fb683f1b212dffd8e7d7a18eab7ca0c0bc7bba35dd5624930d3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3603 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3603}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7eed82de1d5ee0567616e5e0124606fa5a3dbc8bccee92cc78288e45329571"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3683 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3683}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fd6d685b117f1dbd49fe35375a590083ac0f9716c80e27edc7904159ede03e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3829 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3829}}}],"partialFingerprints":{"codehealthFindingId/v1":"301319c4fcda7e37c2aa26f838ba38cbaaff421f5f1708b115626a999e5ac631"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3842 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3842}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6564b53367fc111d2f6510135e61db10f586c15257e9b0b7dfa5f7ba0f79d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3847 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3847}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fee2cd5d5dbcd3d62a711fb69f48c42112236fec60565476719dcdf684bb64"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3874 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3874}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e83439094e1d39d96aacf3b195c0a0296bb1ba3145387102b8165e5b46d6ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 3893 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3893}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da3ef9da3cbe9f6b0dfea961a0c7a89d9983857587f80e6e8944df63967fd6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 3900 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3900}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4825481503e1a4695f73da8c8eadc4949f7679ea5b66e3178b1a3f93467d6fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3927 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":3927}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fd582d786cf9f23dd8779f857619f830f87773cfa54ae34bcad08feeb7ae5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4166 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b63471ce7140be96d7bc08a2b51da5c97a886bcc4558c5d73673c1316c51bc4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4766 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4766}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e45558c9fba3a3d37e227e74de5c74941ef790ea224b9e9cb7db0859051878"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 4779 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4779}}}],"partialFingerprints":{"codehealthFindingId/v1":"6053a995c6c0dd60107cb4820bf1359a34b7937d0e6a70f0e05c192333c4d268"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4782 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4782}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb3954e2cc952080467a47dde4faca114690c4fb6b45636af426dad5e9ab6bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4804 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4804}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca060fed629e48cd61e2de868fd5d2acd900dffd127337b8d0941ee5469561d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4810 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4810}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ae27cbadd9acb3e16b8a4c04f51061628128653bcf963656da999e22d04452"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 4978 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":4978}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed71aade5bef1ca90c2df234dbb70f4b1d4315565ee268d25dd2ff3b262aec9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 5087 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":5087}}}],"partialFingerprints":{"codehealthFindingId/v1":"128480e5181c8854810c146cf1f77dbc1feb975be6f3c0e37a2b4f269417c7b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 5137 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":5137}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e4712a521787e989175ada8c32750b6d84a4870d2914ff44bb53b0f7ef9e34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 46 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/pinned_d2h.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64d64eb17cd97b58631cc8fa1f38962627e82c33a85d65bf31f8284d2c3eda4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 74 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/eval_utils.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75035c142b601c8c6570f7b09eb28b56b46bb17fd4c27207423e81df1b919b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 82 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/eval_utils.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"585130ea282ea0bfde1bfaab0e34f5ce705f9b692909fd63f44eff0b0c4a31b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 85 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/eval_utils.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e171c2ee591ee4adf7348e86a7e4d59253991c9cbfe8e30235138053eae0132"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 100 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/eval_utils.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfac10e358d33d6ba528fdd0a67b01ef6682b55385c6f8a0acd74a233ee59db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 103 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/eval_utils.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"995e156db066a80488c7766ca8122b0d5bf75355d7b2aad69e7a605c21c68754"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 250 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/recsys_eval.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b201730738848d7904984d9deefa9de076dd553e06d96cc7efa598b02e8e9eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 377 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/recsys_eval.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f9ab3101fcc0c97f14236bb9f5b04194b672a4eaf0d2b4da9c5b307303ee9f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 518 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/recsys_eval.py"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce81bbd780dcc92be903ac5b7e6ad06328d707162573b84156637ddf01604d4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 579 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/recsys_eval.py"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfb987fca3a45252680cf5a67d8b5116da9e9d4f8f1ba14062379dd0468cf53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 580 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/recsys_eval.py"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b625bb0f240e62008661e7c9b1e227e51ef14dd1301581cb31d8fb49b4ac9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 583 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/eval/recsys_eval.py"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"517c20f204fab3941c554efd71d68c0db2897cff42494db688907a33c94bcce2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 47 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/config_factory.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6d6f517aa4ff65ffe0ea8d68ac93c83f8c775d5f0e5bda04eabdec132e7068"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 50 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/config_factory.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcc034569d19dab7f4ee293005f1d741701a27e66779bfc81423d50b593f5d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 142 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/core.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce2df6ba53c4053529d2463ee9423e1346f64396c23704940b6b079f4a6b32d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/core.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a411be3aa7ddd775f2f9d6cf41a17df61f73855abdce50166b5543356e20f9ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 343 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/core.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1f94c10f6ede3d3eaad94a9299982fc3a1bdce2d464bdbcdd5ac5dff259a18"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 178 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"314026e7e503b760624003b2fa8c96810cb74138437f3f381e221b6783c1bdde"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 202 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38cb352ec8c4fe63a295b95c44ba7edf38bfafcf3bbe8c65ab5ce1325593c50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 611 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"295f3d5725c01bcdb32f55dece7bd0ab717a637df97bb6531322c045aa9b8d60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 620 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5db4ca43e76fa835708dc5e58fb4efbf6d04562870d63c1850f80c6f2e8d1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 624 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cde0a2431b10da376ce3b20e1bc198835333e31250d66b743d7ca483082e73"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 627 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"6023729483fc92b34d0dd8bdbfc8a6366e913104d2de7cbc14605e4eea6864de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 634 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd5dbce161665fe73a0b204ff013ce0eb75514ef4c9b37507776cda37af0901"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 649 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ceff863149cd71b82e89886e0e88cdb8446c38a7e9ea8acb7873440c853d574"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 666 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fef5ac302581ca2301b9239338213b7bb2e8d6891c20130e75f3483aab38b53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 686 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"517fba143f0fedca97ac04a2d6f9e1ef3871df1d3e16f1d588d6cb83d69d9d06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 705 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9cf86f392318caea7f54f687d243b5ed6c6c6c003f928a397fe526c3e5b9ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 721 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/driver/hooks.py"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"d393285a12a4303e8d134432659b76a3597e3a6bfa9c47ae68a84baeac2791ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 101 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d30c5ca77fa8237d633922f58f8eed1cb987deed8a361ce462205cb2a2e562"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 105 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5ebb19fb067cbe8ffc2d09ad1a1847eff94c780f9ab2de24af59f24657bfa3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 140 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5cfb5d377f73affbafeaeefe85eae01f9e5646d203e6598299a1d73c842e2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 145 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4816c3e7ad698b88ea06135dbbf23b3bb1192ba423ea9c4081621cfddf4bda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 150 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1221aa5db337388739045b9267a34627045e24c079df70aeebbd4d720a2a1a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1091 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b66aa83950a5ab48def07190f48c3f0e5b1b127913f49c6914a6f1fb55df7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1188 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a950f0ec6df7cee0377cf32ac090a61f2fd1ade1f7be7faf8922818f29ec1e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1219 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ebd3e99d8fa5afba103d0ccfa9628c036e6c2ea9adedf50aabb22d10ef0de2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1300 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"131a99654bf81faa3113f5c9451bfeed6bfb74eca26262cbf832c1f6c6781693"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1356 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f5e423663602a6ca1e26a9f0f51d1b06cc0f6354f95c3b914cb59e0144d9c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1448 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7c12da632eafb623a70a74bb54f31ab0bfdd8b9537e65286f1379bc60e0a74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1781 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a749cbf52ce0e1eb15df5da58e4c631c13d5037484434dcc73dbb7b85776efa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1798 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"9673f735efe818a3fcb4931d1fec106395b6e3e79b9380196457d777ee99ddf7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2333 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2333}}}],"partialFingerprints":{"codehealthFindingId/v1":"72444f7a4be2dd2bc58f1c9913bf82dab8081515c4bf6278db04b77142b942f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2375 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2375}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a0fc3017b5a9a914bcb9573f85f87dd8ad714fcdc2c744afdd1074a5e72e99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2450 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2450}}}],"partialFingerprints":{"codehealthFindingId/v1":"4780c8d48354922c70483d49b4e5537deea6ab5f1f3ede5f80741d3b2f1933ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2470 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2470}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f82c1cf1d0b2748b990dcfe8833104223be4332d0d854af7f1cb154f572c3b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2501 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2501}}}],"partialFingerprints":{"codehealthFindingId/v1":"21491b5a5f3f24e00439ac522d2e5e834a833c12909b4c0144e11801981bcf34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2594 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2594}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb51475fb2a9db4e990c0042a17e32b73aa632452cb40d197043e63f28a574be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2597 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/parquet_recsys.py"},"region":{"startLine":2597}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ae16b40dd3f081394530fed6268b8dcb85fa63094bc366b87325a380b3338b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 402 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/retrieval_dataset.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"264ede69748fdf1def179d62bece53655f5be33270d3f01fac800836797a306f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 630 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/retrieval_dataset.py"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2dd7bd747a4ab817e5a28402e6b5d42721f37ba5f68440361918139d1d199c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 429 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/rust_kafka_recsys.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfe92374df6694c82ef84e3a637e09927c3ae234ddca09c49d674a65567bb1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 344 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a16a2eca07846979a5d6c0a2d42b507bf16c71703a2f2b3cd14b9a798ae623"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 477 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"a021c348ed456c1a4d6016f14380aae0ee3e4a0867584a2681c17a0b0dee5402"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 527 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"640df871f0eb457cb4ea6baabf442887cfdbd8dd690afe4d253da430e8541075"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 560 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"5865c892b239fc082b17f686a3ade8ba625f7e81c77d60993eedd96c14f65ea5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 870 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"063fd03bf1ce646561615c09a0a3a856a1a331d329e3b0fa497bb7d4c8f3e320"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 874 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"15246c4addd5ec8eee0c4c48e4d21507761bcb111d8ee20bccc5eb79228afbfa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 910 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d571001003b643ac5a10eef0c483d08da9ff25ccb660c92b4c53cfb5c3e858"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1109 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7a4f86b3151cc10374896bceb0156e0be79245603eb034bebff8a526d57429"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1120 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb98a16a21f302f5c4310c7bbf689bbeb5b22e9af58fbfe1287a3c54f07ef3d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1139 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"26da7c7db21ba54e3d10297ff5b81f59a1ef0d78fd7e87a4540bb55710153e8e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1145 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d38f372e354ba6804b2702aa53abca1568ccd554a7352cdabc733f935567e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1164 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ef59410dd419a5052e904461738a4a404c092d671a5ebffa396bd86f14dee6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1181 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"326844c2b981f294fd9ecf0f63ba78b4ffafd40361d3d04b2243af5eee34420a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1196 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"511acfec0416baae030b21885215c2fdc5c7220bb36e7a0144c38366ff26ba57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1273 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddf1069e0c5e07c90377d858bf5e5542d79879625988e25aa0d6c7c6f15d4d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1288 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dead4a31bdd32ce39ab1c084db0c5efa058f4268e22ae5de8f72d76e6e31b60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1339 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"882063449731e8337b485e4236a6ae3ad31e29fa292b0507d126315c0bf25121"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1413 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"1474c0021e4454882818abbf9a421e9642bbcc63c40427485b833d75bff1b148"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1428 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"5394bddd0fdf62cd70180293b1127b14a10f2b1d923bc07040a2a8d56f398b70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1435 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1244609d780f4da9ea7969868de87e5cb2ed1ffe615df652e375a16dcbdaaf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1458 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c5aabdb442920a0ece6c187f14f2ffabac17dee993239a7ce9256a353b3406"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1463 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"8957bead4535a2ea1a55aca84de8a772677abc1dbddc6e6838481b35ae7be8c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1527 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce2c90419cb3fc4251dc8f2b62ef7bb912315a1a4e0730af86c40b0ae8fe7a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1530 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"20e16d3df2a97e6ef952df6aa42c914c2bf58bf8d1b149aa37c32e71cdb97da5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1549 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32abc6d512a61cc26c3f3947e679acf34d95ce0b0098233eec951d4561fb43b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1635 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd0f25d1eeaf6bbe4420522b665b7fa44434f4dbd82a9b9a484db81ae27a0a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1660 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"690ae094e6a253d1b016e15b2e3d43c72c162c73e64675ce18f0af28621b535f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1678 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdeac7f17c9bd8550f7789fcd2580e182b6901bfb42a4edfb11e3913033b678"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1728 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fc9c941bbbaf8715c4ba3d6eb30b81cce73d1d260be0a34dd27f1dbb233c22"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1744 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e01827ec9d49bbcfda15d64a4962e82e5e459e68bbf51f2d5140c180ea6bd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1928 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1384baa5b5c8ad1adb6597bdbe3a3d22c953b2d91f6e8491da0847528ba6a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1952 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1952}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6e3368b1563f7bda8a98403fafd348c89ffb4e05feacc3b161810042926d51"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1998 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f053c13ca75a51605878f11a5dab4a3526ef487a45fcb5a9612fab697e99e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2022 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":2022}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd3c63775b70c4bbcf650201ff9f4f5176fba69560cd36d03da4a2247e80c78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2066 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaconsumer.py"},"region":{"startLine":2066}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb881f39a68cf88906c9ac5f9294be1c196d8dcc6d1bbf5f9e1dfa657c64bb23"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 104 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkadispatcherloader.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0611fdb508f8ca71c5db39294c2a2f6e3bd38a8a30524edc1c05c74647176726"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 123 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkadispatcherloader.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce56449e4cca381842580ef06dc1a8e912e1abdc22be4b20b7c567d507dc0d9d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 125 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkadispatcherloader.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d3aeecd0d78bbf68fbc58f81ba6df0160044e9181534a62cccb49efb2330f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 161 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkadispatcherloader.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"00266633164a9952e43ec8c825552d246f5175337c276da4803b8a87673dee40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 178 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkadispatcherloader.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfb7201607eb7ce2b7832e82b8a1aff5853dae1aaf1ecc2d90313937a3a5ca6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 192 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkadispatcherloader.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46e86e8a1ee6456d8a2fcb56c2237830f4098ccca6f32daf7b73d0e52c7e918"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 222 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkadispatcherloader.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c893edfe37f56424f6b8ee877a00f0d1a38670c095f93bd6dba9a9d78f62165"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 228 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkadispatcherloader.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2588fdcce975597ed54e81607268af671fda9686364a943a85ea0e5e36adfb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 239 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkadispatcherloader.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ffe9b711bc0ef18ccbfd211e878608f2fcd525465250b84350353d558661951"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 243 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkadispatcherloader.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"0509ed5cdc57e7359c00b1e375319ea9a2e4f250f0390083d23abc7148b4c478"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 277 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkadispatcherloader.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ae9fd84508e5fc1ac5dcaa8619c7cf1f9aead4bbce6a37d97d0f583d422c81"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 303 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkadispatcherloader.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"be082b702ea2f5651ad866f3d165f514d981773f1a60d6852aa45de37ac998b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 309 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkadispatcherloader.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4271b9ea8122dbd6056ba4b91cede688f0253fe55becf1ea5a6c2587212dde"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 311 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkadispatcherloader.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"7034d530116e8f24450660b7eb04cde6190b32139eb522adf2428461b352ac2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 807 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9766c57ec898bb0124307b1fd6364e7006ca0123e19a1d23cf29824185452e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 838 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"115011abbced55667e5963f45a8a0f9324b87b2e8598058caf713d376f30f0b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 846 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d2f8c56c9767ce3ec10bd9622b6896706c39510c41512ec72e281e97e8da94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1015 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29052e74899d54ba3c959528656e4964c453649a5aeb29bd49c573df74be11e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1193 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd02a8e911bb01f492e016c3dcaffafa50ac0a709bf29d05d42d907bb0258db0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1198 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fa66e94fffe77173b8e05d742ea2a57309e9adc89b581f831db213be86462ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1225 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1225}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfe3e5ac90111b23b2c001b4491d54bc78d07361d626b67898194b3d46697ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1232 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc8db3290398dafe8612c86fafae1a8ff86c49c2040e6ee507747d2b82bdfd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1309 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab0dd379ba129cdd776f1dc118f8d51964e613bbe80ce724ff8848174e4f39a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1478 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"82da129cd25cca120588e0d552ea27b099c6a3e51d2918ed1d340608ca49d2b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1565 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1565}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b029f9c37f9a8fab1521a8ed9b94a175d10cb5094697c6a5c7707cedbbe042f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1695 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7677361ab4f16375d69c950a2b0b1dec0e7f697eb2f36ea134ba4fc75723f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1728 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1728}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b6ea32e7fc4ad0ffe4b0d93aca42c463b6ae7ef00e37d5e91ac18b6a39300b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1730 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1730}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27936d66ab56295ef89cf05e60e51b740fa46dda5604689bac4b677f094178b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1751 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1751}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3de23b76310161eb4bc984a0a391676b092442ceb0d7ef40f5ff6a1f08bfcd3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1914 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b65fca37d2f316c586a45d86072bcffe60e79aa7a1bcc37443f16ca0e7d488"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1948 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/streaming/kafkaloader.py"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"6786fe0641a557b01eb95f479e146ee304c30b76ce7800c8fc3188a40b6465ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 218 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc1b185bfaa5f7a45addb09787d5f4fc8fbd6100f4cbf36084e8713667b59f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1731 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/recsys_batch.py"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"a38f5f86e3e1322fafd8160aa25bd5463a1f08aa98bca67c3681e520a7ef44ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 61 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/sidecar.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"97798e0618bcddc4825bb93bb0c821115aab643639d8ea658aa8dbdc9743d097"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 64 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/sidecar.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adf64558f5c8052293e15e592ebb220dde13e93a4241eccd5ff6c1353ba8a1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 62 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/config_loader.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2181f3d830b402e7beb17609a43130b1d21fe80f8e2bf19563c1ec473dd9d9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 107 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/configs/config_loader.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a6d4ab93014b79c96d0f74bd731381aab9d457d13e762e2ebf2b405b1b14ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 209 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/common/xai-configlib/src/xai_configlib/__init__.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"0544451994d45258ec803c7e58c1ad9e3a54a48b63930a27100e07739382374d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 669 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/python/common/xai-configlib/src/xai_configlib/__init__.py"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fc7c28fe1cdda319d15ff1d67326eb0f88b80ef63fb8d7f75fd1791b4fe723"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 40 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/wily_cli/wily_client.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc41740ba3d6b6b4b97d738d604f3ef7d9e31100d5b6b0c8f77172c80b07f33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 114 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/wily_cli/wily_client.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea1cf67d0eb101138b525cc470c41e3d0842a9f2a3ac45de168e133bf302f6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 118 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/wily_cli/wily_client.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9783d0534fda99dd1587f2367258372d288715586935fb3b0c03432eee3294"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 121 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/wily_cli/wily_client.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"66eb0269684822c77cd3a509e304e5162a89c5ffe8f68f9554edab8de7247a7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 73 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/frame_sampler.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2dd510effebfb97afbe551a7623efe24af5ee16685a3fdf85663ee4645553d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 107 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/image.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0476071b51ee6b2824fb991fe33d0d9acdda7de258b901f44d8f6768e6d355d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 74 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/key_frames.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37fb56092ce0941fbbe6bede5a64990e2d8df1e8b136afdb3fb9b45ba91dc69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 28 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/subtitles.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f14ee76f817950b5bafdc0d1834e8b67db68ed6897c94fbd9ff65ca2be45fc1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 38 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/subtitles.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c465c2f346e037cda69393dba1bd9f0e0f192f0f933b2d0f2644db4da831317a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 55 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/subtitles.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"56623a8510c20b0bc66384f3fc2c0ba4ec3ae3378b951007134f622888b2a72b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 74 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/video_frames.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76e241d8f4bc17ec051ffcbc24a1a08e21236340765cab03727418a7a09255a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 121 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/video_tools/video_frames.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fdd9584c1b96285f5638802fda76548511efc26404eac128ef8e3f62265b0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 41 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kerberos_cli/kerberos.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"094cdb201c8693ca20a0f9c35603951bccf2a9aaf23932c9e502717b656361a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 47 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kerberos_cli/kerberos.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4a64ff708c54959a9ac7415728db29946f60b5084f5ce7ef5fc5d84c87a6d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 51 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kerberos_cli/kerberos.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc50efdcd38bd45f4b2b7dea130aaf40ae487b8b441ef2712da52bd3f9eafc0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 64 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kerberos_cli/kerberos.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20c7a704bf8e16ac7bb0259010b881f1330ec4f35e1233e4c013e8e7419affa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 75 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kerberos_cli/kerberos.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2a0f061db5df1cb1ae52c8dc89069298ff724f47c4ebbd9814766076de31c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 79 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kerberos_cli/kerberos.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"daaf133bb098245f9f47734a9059fc84f52878521561bfb33e05f6362fb4659c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 82 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kerberos_cli/kerberos.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"933d594bfd0cd98b81d370a831e3928d5a26ce76c3f1e069f2e1d552d6423b93"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 53 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6b9a1d0dfd87686ed1e0b1333f1f0542a9881f4dab6b10edfa59c8a3e33353"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 59 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8992db4f32bb13d3ee7428259415c8ce09ae440e79c93781f43aca9a3a7b2807"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 69 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc11b43252e07121577eec0e994ccd2b6711c00a44f33caa3a05d311d19c40a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 73 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"6783e65214aa61d63ad64fe55d78422bb4c4d7c8147b4b306b8a38e18906a1de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 75 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"85321bc596dbf69954a860bf2c219d77fd238d57f44aa3952ebb511cff5d00ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 159 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f014ba67a8e5d8e15cdac5cd9147f9609ac13f954b2eed5034652fef1643df6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 185 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c16494abe2e4f203d4de7989b0c09b3b6ec74de004fd74d58b0255d0701042d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 194 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b12c21bd3e865fa60fa4726e1b70e60820c73a7284537242ec1f95e3ac14f44b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 221 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/consumer.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"72855eba64797c4f38c76acfee2d6485b9c1dc9548925870767870b3b4b82f35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 18 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/mtls.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"070f39d8520b5b6ff2870d55342528ddee03ae91a04de1eaef533a2889dbafb7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 29 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/mtls.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03cac07d6cb2d405ad4d1a9c0e5effea798ec2cbcc3ee5863adba72488ec4cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 31 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/mtls.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"417464c763a644eb827fb542554d46d865e4060c2bb209187c6e0fed4fad9be2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 56 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_consumer.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5b4670276604a0c1c6ed82342d63c8476555e5445d4ab524266e4d0516dd56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 79 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_consumer.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd2ef1da65a9053eb030c5d8c68baa9445ad39c5fe72ddb6f7bb02d83f54a88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 81 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_consumer.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"24239a7ce2033b83590fa760f54b1058a4f301765c4fc46d818ca1a871b0a5a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 109 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_consumer.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffc6e06a65dac4b11e8a757ed5a5a661958832f5d3356ac100264c3ccab7a9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 113 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_consumer.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"da54fe961601161c4b1bb58dc4329d916642ae5ad9dcfc0254bd85dc6d563ff9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 139 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_consumer.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c390f83f4c5a5e98a4aac9067e1f92e82729bc8b7547825442851bd9c255f1c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 171 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_consumer.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a59425c7dd680aeaea917672a3b75715a0df172dee239e1f858a22ca82a7789"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 208 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_consumer.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"60805cced7c045032df95decf04d913a6e8a9ff9b751ee34421f1c7ecd6a17ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 54 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_producer.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5f9b55fd48bf1fd56daf0edd4b88d5c8ca2df9a5de1f5c97f7e26bd884dc95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 75 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_producer.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"355f7a46c3e580be71108ccb138254751240ccea4cb86a5563d72942b8a49002"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 77 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_producer.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"133e1b2bb224bc3fbde4a223cf4cd5d29af66e27fb25dcfb630b5d3276847ae4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 96 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_producer.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3500a2a1b8a535eed60304cbb71594360c61b537f7996204a8ece6c507230c0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 101 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_producer.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7472c1c9d2a142792c9c01c33d81b04dfba1d0612acfa8bdbafba943a06e27e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 119 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_producer.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"46981808fc8cd24610a195e676b23be63b7fab39a915d50e8c4b957c36e106a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 154 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/multi_region_producer.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"43436fb567aa8c740e9145b78326e8337753e95c8d4dfa71a5c9ee3f52af6e90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 24 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9ac081fe5ffad680b6210e4e5657402c0c9e447456467b4d5b2500391efbd3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 30 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"55de93cfcdc53b101214d2cc7c6bba6ee95b8e65987bdbeed008e512b4537ee9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 40 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"914f4686fd756d91cd5f31dc406c885c97b57b929e0537551e430c6b353e17e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 44 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce45b38e6a6b6c1e3e65655b282b369bdae9e657b4436fb51a1f37033b7d4b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 46 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9163c8b3b1b87f9447e0ceb43013108a13742447d2e3d86be964f236e964f57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 111 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee0e5eb5ca3dc7b808575eddcd90238402082282fc96b02fefcd5321800f16a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 123 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"751ef93f295178f5f358c62c63eef697bba879637cef8e8c56b3e2176f646441"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 125 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f59135e4ebb4e17713af55a9fa44ea9a1bd771932c6b41fdb1fef316d1c1fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 187 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97f09178f9b5b368741347f71d2155fee6171263ea3d97c60d1c158d2b240f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 199 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"1950bef3554a45ecc3ebda4e09e5486336fe4a95a121c87eb568c6f99c21d20e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 201 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/kafka_cli/producer.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aabfdad52ff0ca3a09b626ce0b13f7e954a672d81d5489b0095aaf264fe9300"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 87 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/html_render/tweet_render_for_grox.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0952c3ac05c23ded40644ff17f75ed143f89a8dbb48b171d26969e344ce449ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 89 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/html_render/tweet_render_for_grox.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c348537badd50cac596096938c7764ec2d8c8cb407e95a041df7c2c595ccbf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 120 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/html_render/tweet_render_for_grox.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7f306e26f83a45a388192c433b26b39bca192a9bfb709e79958e01beea87f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/html_render/tweet_render_for_grox.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"23817c229c7288ae09bd16688a97c277c8d05ca505c43388b075ed90a70e1cad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 152 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/html_render/tweet_render_for_grox.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"945a3959194600094121c38eb0954696077255cc65d07f92f2c408c7a52b92cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 156 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/html_render/tweet_render_for_grox.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b5234ffaebf87169c6f035d059d7590f5631cce64aa30c5529c75e1cacdc9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 178 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/html_render/tweet_render_for_grox.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1911661e9f35b3f6ddc5c4fbb3af07bb67ca75c870faf792518766ea3ad6e33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 186 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/html_render/tweet_render_for_grox.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b7431a20313dda25f0e49bfb39020169e74689a5b1b83133dd484563512f31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 195 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/html_render/tweet_render_for_grox.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"100329589fa7cb301d3a267d0883cd8f27ae2f21309a5201dc7e9081f969575c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 206 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/html_render/tweet_render_for_grox.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdb42e7eb2030ca642fc0ef0090dd3ce1443ce6831713319f262e5673d34b82"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 212 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/html_render/tweet_render_for_grox.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f7ef0636ae9a07d7168118c377d833f3b0293e476a5a6f731b00723b55ad61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 218 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/html_render/tweet_render_for_grox.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f0f06384d06451deb36b815a74adbbdef6e1b82cd754cbd0b6d756d77afb8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 72 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grpc_cli/grpc_client.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9bf18531e387d8029fbb6a889e4551993a11b27f009984bbc316068093f127"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 77 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grpc_cli/grpc_client.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde69bc503064df50a5d0841dec6c18a67892b311a807f40e9c99c57cd22c533"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 81 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grpc_cli/grpc_client.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cffb46dcb6420f550512b1b16027c593265778d067092e4f59b8fa00579f79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 85 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grpc_cli/grpc_client.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0800fbec939a67ead1ca03055bc1fbb7780811d8c4d267b0cd129f7fb8821252"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 91 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grpc_cli/grpc_client.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b312ba1d43bb9067511268db2a5ac01b337ac2ab5652e9d958452f1b225da8b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 120 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grpc_cli/grpc_client.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae249832823a8024083ca2c49d5bf4f43dd6d328bddd464d121db7744de4dbae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 90 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/eapi_sampler.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17fcdd741e919db00300973af11a8276380fa1a78422f18c98e0a90c6857a1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 122 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/eapi_sampler.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"030b1cc6c785bd7671b3ec7295481201ddfba96d32ce4e91fdde30b4cf5457ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 164 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/eapi_sampler.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"20684d29cf733d6614ea74e3eeab4ac7c70cd12832426dd06bfd8eff9f8999a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 167 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/eapi_sampler.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e605d178fcbc0392712d468c1e0711ecb32efe9c4598ddbe5549e47d26328792"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 75 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/llm.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e32120860ee5bbbc8cdf525ee03e2329fff7e367b3b346df334171f3f8092ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 97 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/llm.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0fd89ff974de8359c6b468a692eb09c580bab2cf91fff999baa8c969130d2b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 107 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/llm.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d145391a5078b9a13a8decb824eed87c66214007e3d13368d108ce1eef794bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 114 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/llm.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af4789e569a871b68bbe790f1da5139ad1acc031d8e1901169a65857e1d302e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 119 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/llm.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2176d70a44367e3092189612311491fafd3f99806cc6ed821bf4b00bc5e54bf0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 146 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/llm.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c468681a4af67c483806281d39d88131d01803f11e553b5729ff2a4ac108cf22"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 186 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/llm.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"740b1aac237c537f0b1c4dd58b589aee44322c773c1d77316b06b1acc2a9a03b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 189 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/llm.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3580d1da87d1d6af165e43a5ea99c5f69fe9f73da6252f90cbce2029881c7cdb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 204 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/llm.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6fb2de2eb0047d892997bee655595f00dd1f17c2b2dad15cff9b367316f327"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 31 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/oai_sampler.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9485f4bc6971d456b79ef0ec4ec1ff949c6df0249897ea2501795eed26aec0b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 58 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/oai_sampler.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbd27b6d498953969a19188976021bb6b7b554416b24918319179347aa64e40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 61 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/oai_sampler.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b217a116a3f00371d0417630fb01e81b641073cd10fe44d9a409fd743d65db2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 33 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/grok_sampler/vision_sampler.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"48afc45123f60a0224fca89ed874f06f7b376a50aecb09fc43039fe8671d054e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 91 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/embed/embed_http.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e04082fc5f68a00c953c6c2576f76b7810f09601d57ddf5dbeca770cda4a201"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 133 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/embed/embed_http.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b331bfdfc08898e49deeea42ec166f8ce47c049b35aec4fe7a272c7e01d5f5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 198 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/embed/embed_http.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c5329575f67f041d9d6cfd4bf72eededac5b23a4e8e553ef1c09627477b0ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 201 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/embed/embed_http.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"41aa308f16cfc54c2dcdd33b990dfee9a41d7126a2a41ebb77e9ad52c5aa2658"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 271 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/embed/embed_http.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c7233be5cd72c99b5a73464c3178e0dc7c331d43469c7bc0990cc628942809"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 162 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/circuit_breaker/circuit_breaker.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"34dee61eef5aec27b00bb6eaa6b256bbfd500715c432152d563f4878c23a8f1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 193 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/circuit_breaker/circuit_breaker.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1889d1a453549d09c776e5fb26da953e357a4bc8d0cdf82a5ebc14e81906228a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 201 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/circuit_breaker/circuit_breaker.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdaaa05667dd468730ff80ab5dad3b0807fc9b5f2476b363a94da892e49d24f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 84 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/blobstore.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85af0664e3121e4566f13aa986e11e183899338f490dbc55daf0d7310fc3eed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 112 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/blobstore.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"011e1137df980ef1f1f05349523e36fccbf3885c9089c5668469a6abbf70855a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 127 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/blobstore.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4d750e3cd023acfb984d510f6675717dc13b116585040b4dc250c1c0753102"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 133 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/blobstore.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b2967262403299d7b83cfee44a73337083c5c3f07c6a45ccff1d6ae8e966d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 142 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/blobstore.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"141bcb460ee4ac1707ccaedac99524d2ea06bf8dfc688d1efe589a2f296b7a80"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 147 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/blobstore.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"429e84c8c6cf391a79b442084ca268f13346e238e875639b73835bff7c9d04b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 153 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/blobstore.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6d7666054584f58af04c0b955f300f57bc0fb67fdfa1240de1991573060f43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 29 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/cdn_downloader.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b082a6f5a86b23a06ab182a029bdbc76bd0f98756d03c602a75692d6a49c90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 34 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/cdn_downloader.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b70a7869ce147ab301c474dd47f38ea3bba407dc791eea5dd2d7c69384cf7e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 40 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/cdn_downloader.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8b8bb6123defafd6090e0312953eaa0ccc3cbafa89d7d0e24a97fd4b3bb8b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 44 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/cdn_downloader.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1e33266073fff0585d7a7aaa1707c34737eeaf6d72d23027aa1409e8e71bef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 48 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/cdn_downloader.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd265184f78fc849ebe53358037902d59e6471bf6f3e4946ad48e31ddf69800f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 53 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/cdn_downloader.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a825257000b405cfa3004c2ee8bc68549f34efef4646afd2d23550328b8ac5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 58 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/cdn_downloader.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d8e924d720d72887c859445d749e0a883d5d4d49e2f2e8fab1a5f05a785c42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 64 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/cdn_downloader.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddf55b6110422f3bf4ea2e749ada2f52b6fbb027345474cf0abe57fe3da606a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 68 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/libs/blobstore_http/cdn_downloader.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0f3a599121779523ed8ca060352769d2ed0c0cef47b89bf80b72cc062f46bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 96 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/classifier_banger_initial_screen_gemma.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"001809fb3ea36f3a928f172ecc5c376ae678266d21476fd79c1b377be5ed026e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 114 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/classifier_banger_initial_screen_gemma.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"b423b8d79b513ba53b9abac0536bb93854b302f2da6af79bfef4c0f0e95a1417"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 120 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/classifier_banger_initial_screen_gemma.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df7fcec5a4d72e0bdd6c35b77c7a1111af93c2ba7445ca9ae3ea9bedc465334"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 125 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/classifier_banger_initial_screen_gemma.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e08e086601b3f0538eccfaa3c64a1b3cb599129e1a01de65dd2116ae12632f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 68 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/classifier_post_safety_screen_deluxe.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ec5b4c24d888dcf2eb5e755b8e468a59891427931d9a6a6a6c55cbcb966c1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 72 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/classifier_post_safety_screen_deluxe.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bfa8ebac69205f522519e0ccbdc4e5a817fa9966a3743817b6f467aceded99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 47 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/task_banger_screen.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1ee501535cfeda91eceea82ffc3ae0af306be06249453f537964c5b32ecfd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 26 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/task_filter.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9d91701fc621ccd1c3950c3a3d8f68a1f97fd77e16591f1fe61ba537531692"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 30 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/task_filter.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1a4a91634882893cca94b883334ca81f59ba0e399d1b1e394c4ab8cd44b703"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 38 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/task_filter.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c535b49c44ae76efcb6b0d2ceb8a1f5b255f6aab33eea99bb110eaeb5c4b8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 65 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/task_filter.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a29a47791eb9ac85913e3dd98374a2f354eb69bd665f7102fdf3f6f928d1fd7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 70 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/task_filter.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be704f8840e5baf88a35d555a2f47a789c58f4dff5ec89967f0ee51587b3f14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 48 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/task_grok_upa_action_with_labels.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d950503187c8fc993e4bfc74e9557f3469cd40bfc281e056c15e652e5069e6a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 57 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/task_grok_upa_action_with_labels.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"892c6ab8e5d364f0c756f562fb4aa83049706fd390c5d6cc05cd4dc1c5089fd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 62 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/task_grok_upa_action_with_labels.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1367a334b07064b5021e9a3d0e3606bf832649e5502abf88e1abfa2bed023fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 115 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/task_write.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e3ff9dd16ec013fb4e68b32113da304136f3906b967de36287f29af07e095a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 119 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/upa/task_write.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e781e12e160038e20a9e5a97c44cbfc47b755e6f8c9c6138ca139de78a1a2a2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 49 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"32452078a02dfe259a1b189c724bff21a424eb4d673e67d68d4c61d8a715b431"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 62 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fba30ffa7f887ee204f8748e2d78667657a2370dbb0b2ccccbbe952181a7aff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 95 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1736d4696a0795c8146738eb5843efdf012c82dc76122364cb61f8a5085bd986"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 212 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf251fc9166ada27783591d5ae07d2f2e34a9cf6793b09cad4911d741d76ea8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 50 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_multi_step_reply_spam.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c695fb23064bf13e21d803cd2e121c77187712b58fad801c5659e133c57eadc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 71 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_multi_step_reply_spam.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dc23535a66a731b07781ba82f2fa7da738ad9b78215d3851ebf62bb112a0d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 84 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_multi_step_reply_spam.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0445a14ea4cbd4043cc1e5908126787072bb1abd6bbed2eb5e12d0ff74947607"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 216 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_multi_step_reply_spam.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b05f8eedf5cddf454a94d24597580b31e6971daa55f193083d0191efabee1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 158 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_reply_ranking.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"2294933feddbea95dfdf8b778fbb9114bbc41a9e6ead391afa62ed89b977534f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 165 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_reply_ranking.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a1bb3a6635aee2f03427e824af0cb60b1399ab29edcd4955799b0df9c499a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 136 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_simple_reply_scorer.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4184714624d3df08fa183621dac9130ce90d7b9bb929c1c72c68a97d47f8b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_simple_reply_scorer.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf02da82eab26c11a30247881266100ec2d31ace60b461b2d1b509049aac958"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 26 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_coordinated_spam.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdd1baeb095a18981deaed7ad1f9b366aa06edb9e74026d4e4ba79f0e8ca974"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 53 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"816296085fcffe3bdb76c77cb54757f5ac9e0ab63d7e930ae11c820d930f6262"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 67 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3a23c309bb790400d4711c19aff0baa91c69f5a7e034c6465e0455c908a6da4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 139 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4a3c419e220f39e51895d2abcdd65348bc0d97e9cfb16d37dea9d740b7a6aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 151 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"40877851d032972dd503fe7eea10b3052c69751a8fd589194032340ba8e6c81a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 169 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"197294bc95d37eede7b1151a0e70938fb743a64f718f821e2a6d6adff95b1cc7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 228 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d0a03af10ed7197ab5af7b6362797cf56ed5e943cb006d708e049bacee6283"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 236 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_filter.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ff6fbbbf7df20560b6aee9c9d5bf997480671107f15eefff7fc7284eadc3a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 72 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_multi_step_reply_spam.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebc5bdfb9f7b827af0f75432b748a507f75c86d51457fc109477a7a2aca6d5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 84 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_multi_step_reply_spam.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18a9636c8e1f429da0369dc10d3526ae068c451e1dbe2b35dfc50fc6611f592"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 111 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_multi_step_reply_spam.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d460dc8281633ec2e89c7f223169cd81b54b7eed87ab5e2e26dbd24aeb62850"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 139 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_multi_step_reply_spam.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc66ad85198e454e0cfd55e1a163ffdf363a88a0ddfdbf2183f5bb8231acaa6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 197 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_multi_step_reply_spam.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"361e8addc40424a3a263cfae828c0f26f41ccea036acfc8dc6faa3a787309445"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 22 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_rank_replies.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0a2ae4e1080e303ceca88ae483422b642b9bebf53ac85689ec7d341a20af27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 45 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_spam_detection.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16e1e5194e08875f3b93ab8543589618564c6cdd96b1ebe9b1af6bb3c0837b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 59 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_write.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc86dad0403362e4dbe22ff512387fe99bcb02ecdd7271db85f720410c3b06f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 78 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_write.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf53639fa893e1b0fb18598a91b13e67ba603f1b93a6e8015eb84b6aa0ccdf2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 102 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_write.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c18c034937871e2a975e5dddaf7aa2b2f71dec80f790ed3cc3960a2244c90d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 111 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_write.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfa6c83e94d2f4640153402c15f65d1cf1034c009bddcf9d177e0d2a5aff7cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 116 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_write.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd5efb5bbf40514b61002d8db8848605b31d25cb06f9355f77b6be07722033f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 120 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_write.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"996614284b60ebe085e9c979973a26c4dc0acc6cfe99acf8210f270e4ffea44f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 135 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_write.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d7c6a7b4e2c2ac6f950f0c7295f27f067ac51a76b93a1cdd11d1e295f5bbaf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 153 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_write.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"e222e66134fe0f8b4f5183ac75ee3e1552b0d491e9eb7747168f4c464e1b3529"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 204 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/task_write.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39a46e74d6f5ac0d1a6a1d7daaf5c23632d4495d725e8a0f3f6eb02f2ccd2c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 155 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a53ef2037c17615d71342a605d806d6da926572517a508e00fa66eb17c3663b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 178 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34f1eaae4e0e7741eceafc60f1a5d25565e3ecfea9f2d45dd70e018f689dc1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 267 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b02a532cafcd66399297f5e27f9651bbf2efd3d5c97daf7223539acaaff0cee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 274 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c45404ec0352dd8ae08d4bee2aed39c911ebcdf6c71f31ff3842dbe88e7a28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 280 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"946d189031b481242addeb4a17c07952420acaf3ee108dc0919c80e32cd2b7a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 287 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2daedb553b1d51e1c38c69407d88274c83121fbfd599cb7f209b0db913faf3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 308 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"012b4139d087cb1e32eff9a8347b60189c95b52f0a4f724e60104a5662ad2501"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 319 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c386f6657334246c7af2ad2aa7aab330f9991a7694424f8ad7d44b5de8660f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 326 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1722e5851ae61b1a356a07827963fab6f6d324c41c6bdba7c20371760985d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 332 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"3724e8a3f14e95e61e4e626e86baf5eb937c558bb4c2347e92fc2354c60f07b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 343 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"282a4622111cfc7b73324556a4f4593cc4700deed07ef01036bcdf749820730f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 369 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"439eeefba939aef66d7a1dd75fe0670b93ac6a2ec91caf7e44c2abc7331d3b2b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 378 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bcaec4759868c2592d39b9857f25d6a38d15d05d325a1260e30d9cd0b039b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 386 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"356ee480a7d3032b1d79c0fb2b098ffed11d1d2dd74496ada17963fc39b4fc98"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 397 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef294dbda25fcf7da13f8422b3e99d4cecba73bc05cba36486fd9a11294cc23e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 453 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"99277a0d50147a4066446fcbbbe262cb7f28a1e51c449d1c7558353678f3089a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 463 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cd284a19b94d781733ed5dfed2d90205ef8beccaa38b3e571cb962d9982867"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 649 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"41eb10db7bc427980a0e92ee900e5e316ccdeec02e94e3ae0dfc67b6c2927604"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 687 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"a856526050d3e746f8fc21203d36606511aaed1268377fb1d10ab3635bb06d1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 694 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"201f4c2f7530a997551297833037b67351c10a830f0c87f35e36c40a0bb9afb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 712 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"241adf9b1b543fa850e7cbe34778eef26cbba225b7a4f6745fc363df10b8ea24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 719 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4c917879d75fcefd32425c41e5c111d65a9e1307b364b39e41b5ae6d4e1a03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 733 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/classifier.py"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b89ba7c73127e06ee3dab11291b2389fe8142e73c018fc99bd34747887e1fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 39 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/kafka_loader.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3f71fead3c76dfedfd3b3e11d6a0133386e54ae9d96e2ed22747164f20845b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 28 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/prior_nsfw.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4d7ddb5fbc21b70eb8526ecb98b65e9959b399ff82afedf7033d1b3d1b8786"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 78 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_filter.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5536e299095e199d5de0e4d9415954fabc89aceaa47623f28b528643e86195b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 46 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_ptos_spam_detection.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"880f951f631e55a2bf1dc789f1c31e1530fc3a8d6ab0916a3b2290f52ea0f201"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 55 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_ptos_spam_detection.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8468f645bd8d8b841e04b65d12709b3ceca637be601fa78e24d37fda7d390e8a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 62 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_adult_content_cross_validation.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a967daa43f227219af721ef1f2b514b1cfea4ce1acf2f0a5c3a3e84bea368ce7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 99 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_adult_content_cross_validation.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"613b4ccae88d668304fcbabdc6d393c7e10fb2114cd3fef861a59d62fbb41634"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 113 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_adult_content_cross_validation.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee23cb6af8aa5d15dd9ae016338361193d71a60e12bdfeb8d6a2d147adf9751f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 118 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_adult_content_cross_validation.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7318dc0071c9e83e92532fcca3b3f67c73208d74d1504616d66731be62451e5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 125 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_adult_content_cross_validation.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0d1906eee064bd7b3b7bce622a88a9264c258525c4ec1eb74bf339df16ef88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 90 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_adult_content_leading_frames_filter.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f34199c8d5cef5ae1296484b3f6447d6e7d92cb0163fb254bfa535dc784e116"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 74 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_category.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f5cb5e6e086f408db5dca6188a2f30caccc634fcbe4e20f7dad029315d5035"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 79 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_category.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a576861b2a2248630bc4f042c08d9f16c4f0bd4389b2765066fd575155bbe70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 81 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_key_frames_filter.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede89533f5c444529e93b013a91edf35722e7f2fa044f99256373de8b4080bc5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 48 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_many_media.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed86e6b20580a40cf5fc240d384842037c3b23ce324872e2081547569217ca0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 130 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_many_media.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8d6c1cdb392433037dc121101b7bb4de791c9f6222c86abd3f6969a59c95a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 134 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_many_media.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5d402823daeec73decd68576302a6970d87f2fbe10e1e022ac907c7023338c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 85 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_media_injected_adult_infrared_video_spam_detection.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1335487a36d67f0a9eece5efff6776a736396ade197cedf0413b436adb830ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 92 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_media_injected_adult_infrared_video_spam_detection.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c69b4411ed39bfe2ea466c81af7053c47b0d5c2c36a2e7112d50070deb05e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 97 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_media_injected_adult_infrared_video_spam_detection.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff2c38974ffd707b78d2c86a314f47bfa989c50f5eaa4bc31f905a3183c6bae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 117 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_media_injected_adult_infrared_video_spam_detection.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"846abf856a3b40fe571083095b6f422caad28ebe4d05ddc126b52e51691926cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 126 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_media_injected_adult_infrared_video_spam_detection.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d173c62a35d6a770565de6563f46a406d14e310d463ecd70f808fce9a4d59fbd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 54 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_media_injected_adult_infrared_video_spam_detection_filter.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"23831021668d51f7309b554e5cb4913d2c3997df831eb6e49f6e4e70736897b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 123 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_policy.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51e29627b34a42ca929aa53154290b0860315d9c73eb539a912a984324d8bf9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 170 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_policy.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9c1498b787dcfb59799f35c0097f8f0a41004fd72005d1e1a82a89221a1545"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 46 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae372a5f543261063f25f75f96bf15edb9b6b77f60cd798e1cad51d843a1ff83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 53 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2645f8abc4aec6c1a0855c4e516f94980e093e63d939715fc95ba67c57b68be6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 134 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24d48bdc0dca21a403cfad50dc75e9e00c6bc82e37dd19da2a0d5b32224d4e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"40502a49e7b8121fe15467b996166d10138e9dd81a1fd36c5f366fd51fd26511"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 249 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"40eee6f76d813cefaa7fa431c51ff9f3592dce1098682f4e2b403a4955ee570c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 254 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_safety_ptos_safemodel_sex_nudity.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20810488a369480db1e5befda747496bfc0e4829f76ef8936b19b84f52f0ad1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 150 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_live_cluster_anchor_verdict_sink.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a636af84d6fe90599a481b1f0b3fe2ac6088168bc8dbdc5ebb4cd50a8093cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 183 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de919e0423bdecf11389adf5d1b8631a72320bcc1603a9e0fccf6dc05cdc95d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 407 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f8f5d5faaab89784c66c56b5654bd1d376f81e6357b7babde20a57cdc1fc37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 418 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"b017be44e0455d63f03035d94c3b85d6b94b027d9929b89cdff64a9f955383f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 429 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2313ef78ee7559917c4fac99ef42085744d6f2207451393171db49551312ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 473 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e14ac4ab091529b49a4b5681012229f533ff8642ab5e84f1c4fb53fcb97d25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 484 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"344a94d4996792f7a5f4780d7df28c9098abec47a55e7cc832573da37641575d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 501 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e0995e5dac19bca94a8283de8e2ab3d9814320f59f2c06e9c214670bbf16a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 508 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabadabfa422bab10de6ea14fd7f19be0f69e58706713251c50960db43dc608a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 526 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/ptos/task_write_safety_post_annotations_result_sink.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d8de9b839476b0d3dbe8f90d0495ef5b7d82de9619e4161d94e47d868be64b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 62 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/batched_fav_hydrator.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ad76b9f692601e17914088c779483c57bf3bad8f43be3e0eb379f0e00c2e99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 80 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/embedder.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74a44968a136f1e9759d2900753fe9d8d28d99ba175279370f1c2e6169e9ea8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 110 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/embedder.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1009fb11659898f621fd21e402a44a486e13c82b313d34fcf588d43ff79303"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 41 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/embedder_v82.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b30d401da620918adc08a440353466bfe37e2233d2cea1fab83079292d126d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 86 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/embedder_v82.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"60688d4297eff16c1edec6728a4b9f0ecfe3b3f9536d910f2d01994e34e31f6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 107 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/embedder_v82.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f05a47181b6a11f77cc8c06ea09bc1c3a4c8e0d53e264bfbaabe0de04fbb2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 51 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/embedder_v8_search.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b080eec2d78b0a22fd3b275e5c8267c90985c5110fdb50bb059d63369e0df946"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 79 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/embedder_v8_search.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff66d8c6fff2893eb859b2cc1cb85dfd29af4fc38f565442615acb231643db6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 102 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/embedder_v8_search.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b27723146eecd83abdef37b6c61da3b364927fd7c800a4962dc67e7520d4bcc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 53 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_backfill_fanout.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e98feaceb6610c8a5b67a114dd8ca6d3482f6e38596ad22c7286ceca17b9ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 58 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_backfill_fanout.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adf2e8203284e4f0a4de7c7855232be677ef8efa879ca9bf1579b596f2a8887"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 36 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_embedding_pub.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f182b2411890bb20e653cca72ce8c4d09350f4b1bb97500fbe918488ba9b2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 38 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_multimodal_post_embedding.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61b63e8808e7a26b554b06ef41063012dfe658a293e23f35ea7e3f427ff6dcd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 43 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_multimodal_post_embedding.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba1f08dd3e1553f3bba88de4d338095317281a43a1bc822f2e6ea9c8e69df03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 49 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_multimodal_post_embedding.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc080e315af6086ea2b52e517d060ea2523ca47ccbb78459025e3f0e477df2b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 68 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_multimodal_post_embedding.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95ef50d7b23e76a31feed12b7f505be284ffcc9b7d08f198b1ab324c9f6d2b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 74 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_multimodal_post_embedding.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4d7d980f626eed78d26812b331e8c1f7c1f6251d608aaddcdd8383fd3df1ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 79 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_multimodal_post_embedding.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"817894c16c7fbe12a02fb4f9f84e0f0162267968bebba2215e2de10b67b3ca60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 94 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_multimodal_post_embedding.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d6ca43ca3e7553cc2e824b5401acd8ec092728e2ed5064f1baf3cf3e267561"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 100 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_multimodal_post_embedding.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e58a62c01972c89ba0b5b4afd93b9bb50da0923b6152ec618273ff3b1d4df82"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 107 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_multimodal_post_embedding.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8646292a2926e9516f66eece1aa57efc2446b02fd13ad37ee3f45cc538ac9a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 55 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_write_mm_embedding_sink.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae348e5410ef6b06003ced52536d3e7d0912353294f2b9061e130ad9ea51a8e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 84 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_write_mm_embedding_sink.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb01be5e4f0724e982d55e69a67762252a5e40eab7a3152344aefd621cb3d43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 88 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_write_mm_embedding_sink.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c81b7a3cbc5bb193f26eb08683a1311a9d19c22c653fcf6a18fc63c5d0e6f08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 117 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_write_mm_embedding_sink.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4cd697cf079cf8ab4d0566abaa7f6564b8167d096b610679945b4207144a28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 121 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_write_mm_embedding_sink.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"763d058e98f5f8f39ab640b73a7eae9c7d50b9acd24f9f1bdbff76bfc98e22ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 145 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_write_mm_embedding_sink.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a0295b3dd945e514f59c506d56b01b9141ddd1ccaecb610b6aaa5351ce20f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 194 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_write_mm_embedding_sink.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecfe1f0c8248848bd87cd2df0c16632e8475097fe8acf09199c5aa0ce0a8ce3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 223 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/task_write_mm_embedding_sink.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cce2f79238aefceea3763326ce7984fc6503991ef19493bef1e07e6ac9cf92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 41 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/dispatcher.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24eb1634307659749e33ac6918539d80c238c821668c0a6fc45bde78669560b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 53 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/dispatcher.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f691b8f82beb554068053628e40528617cf2e9925f208566980da5fbe2fba1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 88 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/dispatcher.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"045e9024bdd79c1dc060026c2b9d56878469de3c7836ee51f3e9a35f402818f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 108 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/dispatcher.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a256c90f5c80d6bbf5a6635cd9d0b2e252d8c4ef207b03c17c16059e959ec06d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 116 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/dispatcher.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e4b9d481a243308a562f0aa3610af48b7c8fe2fa10a276bb137045669f70d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 125 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/dispatcher.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdafc6379932296229c215328ece31b1bea15c768f1a4edff347dbafa0848c1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 148 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/dispatcher.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac19990ca3beb1f92cfbc7df3b904fb24161c4f4ef4ffcc8a2deae05c3fa0ced"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 157 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/dispatcher.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf19ff1aff6fb0dfa389e2513d52565403f028ae6ce85f29728a197cf5add55c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 43 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/engine.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e32566340bdd368fd26cd9584f70cfc2dd92abab703de4b46e2b686cb39c4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 61 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/engine.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e728ea0edc0b4cf089869dcd26c5f398d7f8974073ca43461e252229d48acd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 80 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/engine.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"59add947189b71718a6e8b73e2698686c17de7835f8b238a40a4b139642f2f38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 95 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/engine.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"30f7b9a5da7de27c8b172235b4239fb6e6ddb1a07b887dc2adc779cfc483204b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 110 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/engine.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee534e1390cbc777a530368e8d01bb62cccb14426bf257dca43c288fdbc9621"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 123 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/engine.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec829d491de77b13fb3aa5a29efbc145f9b32111094938d8ceae0dc0fb21fd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 126 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/engine.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4787bf5f5446d96eb5470ac76752a35cf1d0064daf919151176d785660e19d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 136 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/engine.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcdaa9eef83cad8a39b6edcaa887b5d4cf245000a2b8e97efe8b3b138d1dc49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 36 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/processors.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"448cd5e2cb2d521d7e79dd935b5fbe5239578f33280044f68f2321dfee797908"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 39 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/processors.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bdc15741b802b9bd812db61a6c84619922d9c4faddb13f5a12e2bb9c71c500"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 34 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d377a1c951325a01629a725222766abcaebd59b1b016655c31f55fa9279ae583"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 39 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7363e5b7521fa18244be76ddea1ac02f37b6efa940f7fa9a055199dd96a5bca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 48 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac52a46085e165776b0c72a12425b5c7aa21b004557feec99e111a108ee1d07a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 54 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75efdff3760611d92e6b65ff0a502b168bbbb03ddc55532d2af61a77065fb69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 80 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bdabc5ad3591d4721c295cbc68e11bccd17d9838d02b66a490cb6d5e34c64f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 42 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task_asr.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1adeb18430899c0934bfad87f9666d2ef9d57cdfaddb54d372afeb4e5f0c00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 50 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task_asr.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a27c0633f39cd319a55a736bd20e62060415a935b3e9c9eb5532f02ae8d2e10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 64 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task_asr.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d366fccf1f16d83152131517345993e1fd07b729e2866a5a183bc5798d6fc5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 93 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task_asr.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d9264260f2e9418963a776127fbe02105b92e6ab45695ce77c48c4b58ce09d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 100 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task_asr.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aa3d47eb17d288714f9abee34e2c20b65e06f188e1b8a47c46625ca1d774aea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 108 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task_asr.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"868d169ae475bf61c9db4d245facde2bfb71accb4466706994a9c80aa9365d61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 117 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task_asr.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3174a7d853b1184081f19c65dcff49e5b820d4149f928dc89ef10a8693d51ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 129 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task_asr.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db7f429ab46ef707f3bbb3e5a8b78f88b452800663bd18e4268f3a4674ae6f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 135 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task_asr.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3cee79e8960c6ffde99f5e70968df4243552135452b878dc1febdcd9116367"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 146 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task_asr.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f3de27665090a7d8f29a584883d1c120f932071f9cc0776bf3bad50b5d418f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 148 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task_asr.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff95585f0f9608f0ba1966ce58814f925e1ebfd7d10b3ce82a65c044bd7d0f3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 58 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/tasks/task_rate_limit.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"b112b4660d73876875cc0137d0cb4d507cd49739db5db0f0f4da87d171584961"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 21 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/services/service.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"477e5fb7dc3d4e89997bbbd34ecf926efb1af40c0f925490873cf1555a2de479"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 46 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/services/service.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"130b94fabe2be2cbc8103eb607304eb33f2d3a1debc01b3541d600ff8d06b68f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 51 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/services/service.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9208199ba69b3ea8be30c0e2f918c42158c1d3fece0f84283ebeb97fbcd66674"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 22 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/schedules/init.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a894e2de40ba69682e37f0fc56c9d9ed47f295edcb11c4b9b4b3ac638d974ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 36 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/schedules/init.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63d696a9c57d877c541a8ef978019532348a6498240b68f518883b5a749fba5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 40 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/schedules/init.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6baf815c41ed81dbdfdb393690d05cb6f2f4ee617b9ac022d057632372b173e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 47 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/plans/plan.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c98ac2a198b9849e4cf967271929da7f4c0847a8a20d9a30ef040ec1a445b9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 62 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/plans/plan.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22c339f0cd5a2d943bc10c6b21742be47a9d3414f766f8d7ae527ad46e5c414"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 80 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/plans/plan.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2aec5e06b6079766488882229da5adca202c6f7e6a2ac41a1cfbd997c58c533"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 90 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/plans/plan.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"8529b946dded7a4d99bbcc5c19919a867d0bedeb12419cfcb28393c4c9f310db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 99 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/plans/plan.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9213805250861116347c293c78638ba1cceff699d79fbc281785ddba2d01ef4e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 32 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/generators/task_generator.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"92eeb79404acd029f5fec53ab93a240ab6e378974aaef1752307dbf559b90d75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 41 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/generators/task_generator.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b1c0b04c7aa50aef8e4aa299eccdfc883671b122fed8ad7bfc06fd3d0a5f48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 86 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/generators/task_generator.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b4b9ad407ef8ecea9aa54c91cb20ea565f45eb59dee6fe86d773e947761d5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 135 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/generators/task_generator.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5486107a33defff24145b52cddf0d532bcf8d91196a81dcf0b5347c631f547"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 144 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/generators/task_generator.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4431744cb1cc10595477fd5ddb58fc047fef97b1d606a352c3d376d816dade"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 154 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/generators/task_generator.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f9681543b5b10bd0c6615f2e46355df696fb6f3239f3b7e8d420c16b8ea2d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 157 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/generators/task_generator.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3205340e57a5bf2ee59f036abfc6e91628724a3104604473ade9a7c4fc15d58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 165 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/generators/task_generator.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d35aee0aa5fbdc17bfd53301218780ffc5beca86d18824f7209aa712344cc2b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 168 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/generators/task_generator.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"899493f414052b3d685a081ab62c962be130d4433715a9770e14a9e5b7378b1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 118 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"935c802826e7a94a4b5303e52fa5e4aaf8a59eb6c0fc98140f8dcda93d06af14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 194 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"71df1c83f7a9bdeb330146d1aa4d256cdc12da4f82ddb6ca162cbc4564f1e67c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 201 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a494af22abdd7b18c84253cd963a900bf6998abc2da3dde92daee14e4b394b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 207 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a79b96f570f2d4232ffcb344906bc37d6ecc64f883a013355f54a18a125b441"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 210 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9795382053ef09fd8bc970e5029777b4433d1ba98c4aa4e56a9e5ff841e45c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 213 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"5782fd0f0c60c283480f07e6e032ed2e92ecdda3fae5d34b0abd58fd9bf095ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 241 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"175027b422743e8150646c4e757c24ae9d21aa88d66762362dfcab20bd20de9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 245 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"294eba431d7aabaed98ab32248a9f985ed651f6269b2617d88137e319b8f5d00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 274 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e2c404bd5c371ff187815202a57a3a5880e3b89853219b25796b77c5949f3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 346 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"88015d4de014715cba8cb2712d056f76c0f7c0edf271d18463e8d9a31a9f91d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 354 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"4106f6def53e9309729a1bd807d56c7255c36fe417b6b85debd7560d9af81e1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 363 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/asr_processor.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"84173c7abf8be539305823f6bb1541a8897bb11e2edd8212945e6dcdb8be3a3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 28 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/descendant_hydrator.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e28591722bce1a22c6e909a1994869ca0cbe780b60821ce77532460f1ff6c95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 31 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/descendant_hydrator.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"499aa1183d12c707f378152ece22bf5af8f8ee6be37771f3e22588d99489b415"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 37 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/descendant_hydrator.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b4e5bae5c3c9f5ae50f7b211d493c097d83917af4f904ae8cbe3553af35e19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 111 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/embedding_ranked_key_frames.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"792f7d14ac8aae487c8cabd87ce4bec04089d943cff63d6b94714100accead0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 188 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/embedding_ranked_key_frames.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ef4c544da35e523ca5832a6a6ddc95105903691b9700a42ee2613d70685843"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 65 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ab3d8ee4fc05ce1598d560d5d12eb49c07e9b90bb985d27014a30526013591"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 71 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec30e121959efe762a6bea79730a607a6e897c25a591b396204e9b1a8b58c4d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 76 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66ad06a11ce563660847e15c6a0adbf1a724dc82fbeddbe9181a8afb9190d7d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 79 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e5bbc9b7648339bd8a242b233f92e0b4a95680da9a38545f3ed2a18a56377a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 85 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1723f8f2f3dbbb9a41dac64faff4350112609aeeb8d67c48c447d942b38ebcd9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 89 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5bace260fd02f2f99bc25c8b3b9a9e066e43baf0d8f01dc12622ac1aee3f08"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 115 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcfa4ad58eba2c5511d510c13bac946b1e9bd047fb7d867b4b6480e4feb76c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 121 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d512543953c7f428632c74626ed7f7d4cc8aa88d753b530d3227806d3b256d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 154 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef656ab978cef2f6ac6d49738dfe3b643707385aaddfda74b5c793cbd5189ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 159 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e034990a1da121957926ec6b95e149151b6da892b77769a105dcf076892b6ddc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 168 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f695cb31a941b6263353fcc65dc43443c8272c04334d37706bd7d893318ed4ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 172 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4f1804a98a9bdd5584b050c72ea2487a78f6b8939b1e7c2998d5f4158f516f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 197 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe13aa237f866dea7adc63ebc787b237c3267fe02477d5ac649e3bed158fd27a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 223 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/kafka_loader.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b097b7f32fe3ad77c36be732b15197df796ee224b1976f6e099cfe76d9184d25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 129 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaee4a1ae3aafd4bf920c2765691a19528e200be81128c18e0dba658b6ca9116"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 131 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"06bffc41744c6f8309d7bc58576c2760b58836565f98edab0813c43b36e10c59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 159 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cd17d8d4d3911bbd34d926986abf36cbfa476ea524f62227d11ba1993524a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 207 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc70ad4c732e8437c8539db2bd44e14948907e8933d33cbf1f4f1bc745a59620"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 237 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e72e51cd6237cc927b4108d5bc72423a1b65e2b7361c8c81855e183638dca1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 357 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f4efae7454e1b47a9ee9908c5861579eef65de128121f29bbdd925cf738f7f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 371 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d58d2e9b29df32f195e67a2f183d6027fe385acf41ece8dbb20e78b3154381ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 379 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"4825e2a5bf86ecb0c5b6b3e21f0add935afe1532956098b83684e7105ccbf80c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 433 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa34a502e2993ec91e80d50c4bb205e32d28de31c4a0ad192e9863ce3cc3421b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 472 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"63868ec50ca337e29c2b35acacc70a7f8d11feb7e6589e5b98e14dae4da58eea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 493 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d58c008bf1fc8d89db5498ec5b4ba3e5552fde2591c930d20927958e0b8cae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 523 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"033d5fbdc0f7163973abab1f931af6854bd18c0582b444460eeb4945ee08983a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 610 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a242bfb3f73f64dfd930d16fe386493e8b206715e284b26bdae811e01baebb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 649 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49803c5e555f383156050be80f54744e1297d450e0a4bb54ccffb66f0f5bd38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 674 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"6332ffcc9a5f822773994e367ff6a8b3ac3f385c22531d3f8f36af1fae6f5621"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 738 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae331dad3adfe44e4de0d58e94fded43f545f61dc65de3a553b02e1af6745c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 750 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_loader.py"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"76793b7a6381d31a94574849f261b58fb7ae798fed0b584f892e3048bc97be79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 63 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_processor.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e6a0a1d072ba3a1d502c41a4c79b8c71904640a4759f08267df0cfcb21003d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 86 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_processor.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b63bd5c083008fb74951a0300483959a11b8fe81c119d25869105e7206e388"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 115 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_processor.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a75e64811e40bf99b1c5e9abb53e4e43a3c77cca0371c476dbc0cf3b96cf6d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 169 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_processor.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6513894c47ac853e106237f25b0076d8682c5a79dae1950d3dd76925896ab33b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 174 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_processor.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23036dda7f7b0dc4460f21c28abae751ba85b2b1fe29ca1ada37355a30db15a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 187 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_processor.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"817c7eab4c00fcd2d2692c240fcd494599a92f88e48ec6c27b4fe97bbad3c836"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 161 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_reference_bundle.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2de3fe9cb1d08cf06900e2b7db5efde3fd7f8d0017bb0c6b6fb0738b537e5b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 175 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/media_reference_bundle.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3b164183fe51a4ba3e9b80ec813ea63ddd731a130059d8de543716127908cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 69 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/strato_loader.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"af77b2ecd2a8148d639c913dd4e2a9ef229613f2b95be75d31b6277b0f112a29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 98 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/strato_loader.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"01759db7b3b49d3cb84753bc8fc7d4d7ae7f6bd2cc6dab0e4d17e95a8e9d6517"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 120 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/strato_loader.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec009896b8b5af01f6639a196b83962d04ec77f0c299ffca10b3602284462ce0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 129 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/core/data_loaders/strato_loader.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9874233f720a47562857689aa61a4ab4b6a099b5413c4532ceeef91a8f0b3fc1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 34 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/config/config.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b49ed391324aa679d02c5fa5a46192df2d137249e8e6cf1be82712049618b7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 36 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/config/config.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"978634b532ac02911159af28a20e356342b6b2b7fcf3cca1067666ba1b9b4173"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 240 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"clip/training.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"9def23ed829440e79e39ee3e5538b12ccd56bfa9de30175d30ee27a7c1954db4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 60 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/training/train_head.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"da763ad0eb67a211b0d58bd8324bd6c54e28cebb6ce63b692a5a862833711d38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 154 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/training/train_head.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0bd99b429bdfde97519830e9b6ff88e1c794e44b6b542d92821e42173bc05a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 163 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/training/train_head.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5841a3ea2aae17529dc03181bc784b00be91659bdc7070e5dee9373147820efa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 246 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/training/train_head.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a761d663f9d32915907874f46d11420b1a038c2ff75c666321f33c2b1aaca09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 255 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/training/train_head.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1efa5a98f13218f79bac839aed60ae4ad25fc2e85928cabfc7fe687acd93cab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 280 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/training/train_head.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bdef9b1ec36c3a626b811f3a17c10da5896a167df9294952972773a7809bacc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 281 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/training/train_head.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab9aeffbc1a571a0a16f77f8840d8e332c7ec6dfd9093ce26a258065189dbe9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 30 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5f78e49eeccdb70c9c95fd89097304bbe967007ff1c95cae01daea16a95d5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 162 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"205d42ffa8180de3853af7eb7f01a2f373b24af4bc2c7564c45f5bfacb5b7be1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 174 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2482154b2b4840c48fb5286059d137197548b8d4eb3cba6404e1b556eacd4dfd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 189 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3506b0c61e93ff0404c4693e15fdddd97a65d4b09fdb92a0a745d51651c3939e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 240 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e79b402e504497ece25b2e7638f9a3e472b343447ea75f1525846a9aa8c1da2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 261 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"07348669e2baa224ccd69f3b17d1c55c22b8dbbd7a315c3fc26e31eea0d05091"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 266 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a37a124dccdb3d3b673564a7450d0f924660f1e5d30ed710d14103cd917667"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 400 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7758ef9cf9667d35d51888217845d635e3d452a3f5de2c611d5a9a7520d14ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 406 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a4837c02a2673d95e934a61427ddbc884847a5253ee0e5d42147a5c6c785af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 435 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad85f5bdda87e15053aae8fec66785a6e7dd712bb7427ee07b112153a728381a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 472 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9a6c01fd41be98a787ef33bea9cbde1a3db8858fba84fa950b2e1360bd71a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 761 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"82eca8ee63a06ae561c585ff736282d6efbb23966bd4841a102f7f0562eb4fc3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 810 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27d07cd710ae242f5e407594f7a67dba0b34054647d960429c289cff9949095"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 824 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e1bb43584ffef4ff1eee3bbc5ec0f6c6b547b8adec59d7ca9804f01641d1ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 836 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"1935056934732f36178990e8279b205aa0c6982562c11ddb115f9104159f00a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 844 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"4477bde762cb3e416bbd7f60025a5ac450c364a42248900e656ac2e6cca31326"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 869 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe9a370494f21f5a81163d81c0b2c9c24401793c04493e8943c4900d3ec29e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 949 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/batch_prefetcher.py"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"7665bc4c619e990e7a30ac1ff54de36f2a54bdb2d95846423b271e7bdd0dd4c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 47 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/gizmoduck_age.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd105709617ad067795c6ce7313d0243f056d6aa5872a2a8d530fbf5cddfad5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 101 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/gpu_scorer.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4862492cb050c62f945ba5df472e9fdb921ea957aa56c682a28ed8d6b6c185"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 219 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/gpu_scorer.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"acaad5bd9d039451d60a9fa2896aa778a7e56c7608fd9124f144b6cb2d5e226a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 251 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/gpu_scorer.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa61e8533c7139d9d1d2f54917b61cc3d9a1acf60cc57f63a2e7e1b334fc5e99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 259 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/gpu_scorer.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e3f65a4cecd3d518ff4f7384ca96af26ddf97f81c5c0329f1a345c84d4708a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 56 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/login_starter_pack_counter.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9dfa0a61875562a7c558ba5577983fa727fac74b087649a6a80c58e8f90b6a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 101 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/manhattan_arrow_adapter.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7d83727398b82936e32833b0799c05e89d02601acc37e0616b03a34ac481a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 39 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/manhattan_scorer.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e357892a17eb3f1e5c4293d3f1ad60138d0cc26760c77f42a5effb6fe873bb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 57 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/manhattan_scorer.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3f72f0ab4ab64923b990c2ce217a65de5bdcbbf407cc9a0f48058f01249e31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 57 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87b1627e60d04681e0d5fd9710fd1477295de0947d9021711c1380420b99bf9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 300 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf4f69de6df8a8b6de2c6a5b189c10bcbe1df9bb183aa758e3ca994b73842a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 305 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"eceafc7117606cfe6a8ce853980278caa5f66ec1fe821b3bd5265f210136496f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 332 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf4b7886b7a7169d60f95973344dfaa42e573abcc96bcd80e846a414e3322f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 699 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae7593917299b4afef351891c362689baf54619fcff992edf5b0666a8af7c48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 709 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df79b6b38c10217425063e59e28a68205a811666edd44ba603cd7c4a92e6c47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 720 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"44779b5f097d12bf1655e85b180d52b1e6d78f422b84f47eed7258ecc2c9c6f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 728 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f2b5a577ec4c3fbddeb19ea1df17a0bc4d8b610d071b29df02c5022889d20b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 737 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec94602b29f8cedf9afbd03b4cfb3c4864c509e95c6aadda31266b191a4042d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 745 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf4f88b3deb1959a29a460835edad4739a34cc1d4a4d432085ac4266e229983"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 754 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6ddd32109bd2f61c82956ae83600bd16d64ab68933850a492863e423ffab5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 879 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"270aa9e3f0405107f584dccd435a8a4b39b3bb90da666b78c61b1c90b692d2f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 897 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"a123fa9f6df6b165906c2ff2d7806cdb96053a6981eecb080d31a38479dc0254"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1311 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd21021730ed1ec3077a91511ff0ecf5e42f0751f9209aee843149f5a78d64bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1404 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"0567738ffa85a8c3fc37f9426decfffd7e0e4958a462c004baf7e096e11d9fbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1418 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6b9e65ef821c8023e9dfa8528deace7ba0321ffa2ad993769ff7df0df3feb6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1464 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"163379d23bdfd544b0c5191a7e897d4c837c03d287f3dd8d7183171de96d03a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1482 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdc3918cd9e88a060a0bcbe05a674f2c35f25b3cf984a46917f755c23988245"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1498 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fab02a8a6ceaa23c7e20bd1b732f7b65ebcc21b58de6e7b9be79fa7541342b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1523 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f5c03ef2261ef51f13219952583432882034e7fde43a2788a9e9e1bb279d5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1528 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"41edd49f452588048efcaca0b5cbcff232c372d08b21ebe58b8c51195121c578"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1535 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be55f3e1bb2730275778ba033a7208c1252fd364055b399aa40d6ce84bf908c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1580 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"2944795452472f21dd10c0f13627616099bab00cedea7b77f966912b6fbc10b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1703 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/score_results_sink_focal.py"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c33f55b14f3fc0689b86ea592ea0d18584619ae36bbf5da8ede73674af7a70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 64 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/sequence_cache.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"48851e54922c985189bda28727343181fca017bd05acd11705476e16c9f51684"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 93 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/sequence_cache.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9056138de9d0f76877d4c34c69535eadb0393a60311bedddadd6277234ec2d8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 55 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/starter_pack_follows.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e28727ce25ffb7389a297a3947e2f7eb89a21fcb84405e019e0f343b88fdaa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 52 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"adult-content/scripts/calibrate_model_scores.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d88680b3fbf6d63355faff8f266abc9dedb990463ccff482a3ef32e61a6cdaa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 95 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"adult-content/scripts/train_model.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"04570e1d539afd257a83ecacfb130117e43d5e76b402b547c849b5292f98bc55"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 324 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/util/ThriftUtil.scala"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"456129cc4bc1e6ab9fd38835aadd9be2bd3bb883daa733163e1d62bc3f706c10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 94 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/rule/RuleContainer.scala"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"390db518058a719f7bbdbef55a5e55be0d37aa5eb7740cf2358639a0039a9af0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 160 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/rule/RuleContainer.scala"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e45813c83af9a6351f43b13f279e893ac25ba818af1ae0640531d75c631d5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 236 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/rule/RuleContainer.scala"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"40392000677340fb21a8c2726e286807309e2032f13720852ee9c666df2b1612"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 263 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/rule/RuleContainer.scala"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"b17b0b49306d8b5c47b973ee550a5d970efe9acdf6bff68408325bfb70b16428"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 54 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/loader/Loader.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ce40d9310f987d2d48c15f1b780e78fd5cf34581ee7c85409d9c881eea4730"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 57 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/loader/Loader.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f7e893d8ffd56c16fa00cc0edade1c9095dd6fb17e159a531380ec6baab144"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 61 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/loader/Loader.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"034f979d4e7d92abfda641515c2e8c2c95998d4b304c37d334d56317791f85bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 65 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/src/scala/com/twitter/botmaker/loader/Loader.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45a4adb995f8ef0656db44bae0063677d6b9952f74d97682293e90b3bca541b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 73 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_loader/src/main/scala/com/twitter/botmaker/loader/ConfigbusLoader.scala"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b558d2644bfd73dfded5fdd9ae14a57413215f172af75c03269b01cb26c46858"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 81 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_loader/src/main/scala/com/twitter/botmaker/loader/ConfigbusLoader.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e4985f62b84ca8053ebb8944f1aad7335a91ade57cf914d222f8b46bb3c65d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 91 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.info(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/botmaker_loader/src/main/scala/com/twitter/botmaker/loader/ConfigbusLoader.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f99b45e9058065dc81016e9feec1571f334b81e3af678a998e0d245ca372fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 127 is handed a message assembled at the call \u2014 a string concatenated with a value, or \u0060String.format\u0060 \u2014 through SLF4J or log4j 2, so the logger receives one finished string: the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2\u0027s JsonTemplateLayout, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. An exception goes last, as the throwable argument, not into the text."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"botmaker/scarecrow_features/src/main/java/com/twitter/scarecrow/features/FeaturesOfAuthCompletion.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b30f0dc3ccd258222b32812ed0f832bce995bed4de6aa5f94ad4e1734861679"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 55 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering-client/discovery.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9232d09f4d834a3a81e4ccba694184afb415bc3462e7fa3860df806c8e11ae55"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 192 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/server_deps.rs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca806cd9f0a8d1541232ec21f0e4ebc39f6d48265cd5424249c4f61352841dd1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 126 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"visibility-filtering/staging/reference/tweetypie.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2400066b6e734d5b817f3e0115c488e23c57e78eda7a5233f39a387e5ce56c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 258 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"safety-label-source/connect.rs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"2390777e945254c394ae55c7132888c2da2ce79408ffe559d666e572806e1373"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 471 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-server/src/lib.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"7521b850c1bd19c2d00bc36325c1b69b583f02d54d50ac9ada89fc8365099e09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 560 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-server/src/lib.rs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"37611a2154df1886d1d7e6cc04a4d08db8ee5ece6e3fb57e84ca0129666ec895"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 572 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-server/src/lib.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"b31cd71d58988553237c1f1090b6d277359b38c79a9ee9a8b6b049a41115515a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 637 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-server/src/lib.rs"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c15a75c86a965ae048f347f6bbda0c73e96bd4b5c2d536f3ff70f9f9cd9dbc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 640 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-server/src/lib.rs"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ee8ca408ba3ace2331b48576809c6c1a26db7ffbc3a279112c983e6697a5e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 661 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-server/src/lib.rs"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c6ce9d8907880f11b1fad4c3a9615ecc2544c27f1f5e6693717e5cbc4f854d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 680 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-server/src/lib.rs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"64979a0d2709a2e5da3cfe534bd812d55a4b4fad9f63e5b214350dfda594855e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 689 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-server/src/lib.rs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40ebb8dd3c347118aaa1aaa5f35879a254a5ff0f47f7a7d764e2b9e65e201eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 713 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-server/src/lib.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b842bfb0fe2b2d342c80dfad4f6ea462718d6136aa41b0f0d053d276794151"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 49 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/phoenix_scores_server.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8c8080f02640f0d114205a454f847e96114998849022140a2e48699d5777c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 63 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/scored_posts_server.rs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c01d0a83402df14731650a5301b2e0c0eb647631c943b7b06005004c7b63d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 195 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/scored_posts_server.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f6880867d1b22b3e2a0a61a31c94d80f6706fac93b48e6ab38932798e5e6f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 200 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/scored_posts_server.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"8621a39bd9f66765c14d44a3c644f87660236121f32ea11559b36c97c2dba5c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 205 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/scored_posts_server.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9332d8fd036b1208adedafcbc6d83f0d0c8b1f760cf76dd2e78a4f8feaea52d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 197 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/server.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c3939d335b2aae3bd4875b7fe9dee2cabd74f91b0a3502828c279943c74891"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 30 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/feed_log.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac05fbbed405fa7dd613ba6bc5db410bb7ac59f76cb9b8238506672e4841d3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 55 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/feed_log.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf78206d31fd9d234b15c9e1acbc306cc618c9d2286d286ca03d677d0155149"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 272 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/phoenix_request.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f5cc8cfd54fad11074f41d4f556372a3a3945705c158b82b179946575081e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 48 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/video_carousel_ctr_model.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"990c8aba6849ad4b791828e703776783d20964b90947a300b54f33b151f2ac84"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 64 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/util/urt/prompt_marshaller.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ebfef6d823f902016a51dc058406b77fc9a7a665c90ed57cce14f98bc3f971"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 31 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/debug_side_effect.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"42048bf6dc201d6bdd164823fd13379630432fa7b25b603d7b0b9e6194bb0523"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 108 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/phoenix_experiments_side_effect.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"194ec59089144391cae58f6e0dd2aeba626de60c88db09d1203a134bab38b70c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 170 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/phoenix_experiments_side_effect.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"064a4841b294afb42a3a5e214701301e705be58101d34352863d4638bd1077cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 210 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/phoenix_experiments_side_effect.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a2eeef79b94bdd94ea989c605ab36fb87a69253ea1ce17b70933056cf7e5b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 226 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/phoenix_experiments_side_effect.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d970177798d895d536359c51ebc54da65280a5ef30ae4e744852a0bc0cc9c7b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 250 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/phoenix_experiments_side_effect.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b990bd391962ee4bdb2d443412e2a6289ef964ffcf1dbca09fe6b36473744c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 266 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/phoenix_experiments_side_effect.rs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a503617c59d567f32127c3513496e7fef71a0ab433b49bf5300c52d52f87ef53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 332 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/phoenix_experiments_side_effect.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c4d1a64e18eb15a0ff043b1dfdd44c5076af53302c1dbfe674d09b493e3954"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 341 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/phoenix_experiments_side_effect.rs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a40eac88e21f72b03716868a1f8295660e45d98250adaab456e93493d9cf8c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 344 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/phoenix_experiments_side_effect.rs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be02d37a304269fdf6ccd61537b643a7aa5020324de81044906131b4daee37a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 62 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/side_effects/video_carousel_candidates_kafka_side_effect.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"532730eb6bfd4c1ed214fca68ddb707357204476bf912dab5122361f0fe7c2d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 97 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/frames/request.rs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"001dea86208eeab1e8e7fe289db597230220ce23cbd4694e11d4420f3aab1656"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 662 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/filters/topic_ids_filter.rs"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae63b874e8508e460396e3ad91ee79f9faab45aa06b0f37d0431098eba8361ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 669 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/filters/topic_ids_filter.rs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"3783dc7dceab0bfb55d05ad19324bb9a5fa1d169d41614eb54edb1ae88734b6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 58 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/author_brand_safety_client.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faf1f95bb8e57bf8041865f21a42c202be7a6016ff92b22a1c802a98d60ace8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 139 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/author_brand_safety_client.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"191bd986571b8a37b2faf9baa640285cb6778d8aaebb91a71ca023f6a65c186f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 122 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/engagement_signals_client.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5a6e57410bb58152c572ad7552da51919bcefc16dd3fd998b03bcf19ae75e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 42 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/post_engagers_client.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0033461f4583e0ef9b79b3ac7adda91f276768234922f0dab34fa722dd328503"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 73 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/post_v8_search_embedding_client.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"519745bb9b7c2af242553a8056dba261dc64ed3071db1be8bf0d26b324022a15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 146 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/served_history_client.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18f79a8e3d8961f6ffa7d48903131922e794580db3250477e67e3268703e79d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 292 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/user_action_aggregation_client.rs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ad1d8aa77dd417ffed2edcbcb471372da55b0aa0f8f26abc3ec470fc92edb6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 53 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/ads_brand_safety_vf_hydrator.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"192dfc8c5d1b7424ea944c1a27d99fe8c634a82e864c62b78b5e216ea2525782"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 105 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/ai_trend_feedback_context_hydrator.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b808e0d591608626be7f6d1a98bd6aabd47ef5ebd802bb09a27c5e48a73389f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 238 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/ai_trend_feedback_context_hydrator.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ead654d3dbfc85a15de00619a4d9de0b0f4abca58a7223220f175569ead482"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 34 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/filtered_topics_hydrator.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d438c796a219b76cccbfe369e7b708c3645ea24edb380915818990b7ce6dcafa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 55 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/topic_feedback_context_hydrator.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81b6cdcdf2ecfcb71f012d83925b0e461eb1e43bbc70a2f5381b422834cf3d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 158 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/topic_feedback_context_hydrator.rs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d852c46cefa9c8845b5bc45f40c81a6ffd46d374a2f03d6b01d0f5fb1ea111e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 94 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/hydrator.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"841e47754759542cdeaa7b827b1712d5a727f600dc23d82d0495a4ebebfe68c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 58 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/pipeline_summary.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c898093504750c35fa51083c404836e6d7c371e1856a708f1a2d2f0509ea29a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 98 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/pipeline_summary.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c1c988c3f64ba6125d9f64dff008111660f520144765553eda765d2dfd99b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 110 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/pipeline_summary.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a118afa7dd2f789cfda205072052a270eec5b2f1d22a189d0e2e4f31f1e165"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 133 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/pipeline_summary.rs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4106bd563cfa1a70bbd8210a21059ac440f4eb5b20b42799184f077a74e4fd5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 31 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/query_hydrator.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7f9307c14cd88a24a3c377fc169f8dbb148e8eebbac90e371a9bde13b03ba3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 38 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/scorer.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bef6d080dab9ebf3423015f70425e69d0c5430a4f352c93ce69df74702cdbbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 31 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"candidate-pipeline/source.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2a0e869d2b43f837cd6bc9a2ecba94a3595f89237b366de893c6824dd77b6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 330 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7efaad37c5f88f96539bc2be8f27ab97d4743c5140439626f551617c4d369d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 348 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20f0352f26883ea0bc54963116955a62ff2d568b8cd6631f61bf42700a0db9d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 396 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e221009e74efa37fbbec3318fb479ffcd82f191985582ff58f28b64cf066df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 408 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a64af7a45b49ac9c4f590468c146169a98b05cbe4763c4f9ab5aa35110f855"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 435 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb21fb06504b6f9b895f27d0c818f21fbc8cf809d088ad3d3495a96ab7f0d79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 466 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e125ab7620fbc3c7fdd60de36447fb33aeffa1b422b087997545d0dda9dede7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 509 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"3263911323b2ee4ca669ced009626e667819a9c7561f4cb739e27eeefb64324f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 615 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"b001af25803a588ae763eda4c62691f8d28bf417d6b3621a6c6424b6922a2565"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 685 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb118d897f359aecf8bc3c5a2b752b792a18a15d09694dc39b07c9f365567877"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 722 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"37884553244d10c3137bf6f5af91e67328104cd9f485b719ed8515d492ec7345"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 771 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/main.rs"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b757fb39c18d0609510e829d67330a519d4ac81dac4bbb0a81ea5eaea857c9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 165 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/trace.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0302323da427b9825ad7ce626fa60a1e8e8f57ef37cf299c70b8c296b535f13d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 182 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/trace.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"426e56bbdd1b811749d84902dd76f2015aef0027843ffb348d1cc2f0540f3479"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 189 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/trace.rs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c552f65878e888d1d3bd9546fdcba115063f2d49863f44ac0ec58562717e9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 220 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/rust/accumulator/src/trace.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3dde50ebf7a4ae6877d2b9cbaf92d20c65ccc87a27651e674909c617d6a216"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 59 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-ledger-service/src/main.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca9ad2c106dd3fb18aa6f0e2b0d1af0c3ff174aee373eb745687dcb8dac935c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 71 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-ledger-service/src/main.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"660bada670381fe6420f4ed13258d85527b513e2ddba5abd5888abb84fe7639a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 90 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-ledger-service/src/metrics.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fdbd3c031ab833f0bd26719fac9d64cba8fb6519d7532c1d260abcbebdcd00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 70 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/allowlist.rs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f1310fad438ab4d02c936b1bcb563b1046438cdff4dc45a190c2dea2350518"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 138 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/allowlist.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c505fe0d427d8e3976ae7533ed1c9edf6b74a630ebcdfbc380f3d8f268d98ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 572 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc4efce861a277035162ea510cf31eb4a8abb9d6d2b0d0acee350820d4093fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 659 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"472128b0cedca2d4dcfc35292793ee500a1946ef8a5e03a96d07dab8d80196a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 953 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abe8df39b823ff49fddc2a104de2c89a23bcb86bdc1465c19c383dd339de7d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 970 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb6dda7337b387c69c1502f4e9e752c96a1cc6f2067f0ac8358a00d2bec54e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1165 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d21c23ae80804649ec9c294370022088093293dcd9da92b291a8f76e0e47a219"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1181 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/backfill.rs"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf57817a75c7b6ace4863a6ff59d04dc4014cdd663fe4475f87275f94eb66a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 330 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/dedup_cache.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"3761caae83f68e5f863b90b58488939ca7e336320d2cbf1df18f7b5e9899a317"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 362 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/dedup_cache.rs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1c68662746ebe0e6aa90fef9afbd85264977cd30cfd3a1703108613153501b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 374 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/dedup_cache.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c724465d645019db61c045c37b23949f3b6ed9d5233b760bc43a3804e6f667"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 386 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/dedup_cache.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"7940e575e020eeee79913a19d0662b62600a429d2d52d9c33f9bc11e4b0130d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 501 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/dedup_cache.rs"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6a6e867d465e358dbe13915ff03c895eb98558a2165ce37282ce9e3ada6ec7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 535 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/dedup_cache.rs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bcbd0e24cfb29ecfd69af266e0c9ac1c3901874977288fde90eca1732b0cc4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 557 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/dedup_cache.rs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20bde9f4bae4796f776246cb1ad7997b7eeb7cfe0da83ac084c9cd967e03f01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 573 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/dedup_cache.rs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ded82b1f2fef1224dc4d791b5f6b202c79d38625b064284722ff002cfc3f1c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 96 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/growthbook.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aa1103a15b5dc924bae7e38629a31bd8224c14b36837e7a33fbc7f9e41ce6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 303 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/growthbook.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42477c34810314e3b6f710b2015e2f4f1bfa4d216073ed8ff05526c4c0e7076"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 131 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/growthbook_writer.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"5665f07c005cb96c6f9dd9e58372f83af667fa61880cb4726eb23788b784d4a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 160 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/growthbook_writer.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd92a7c229123719411895c238e81d4c1918026a3b6ddecd9c25fb84c52fb7fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 354 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"5158793723c79bfbd979c88964d8d37c671e7ba4589e920e703814733739eea2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 902 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b69a1eaed08e61796719d612207010bf40818741013ae37aadfa97661989fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1323 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"393e60a79482481a8470b6082d5d73fcd018fea383e5c0e0a3c94cd6a9eadcfd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1353 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"278f8690711eab48f7b5d32c127a652da6225e8cfc9fcefcf7dc195f0fe178f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1368 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"37844d9161f9f002eadb338757e77037c7a525573d5546da84486550f6cb946e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1431 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1431}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e777c83328288d7becabc4d30a5d121a24daeb5d609df045eaf09af7cd7df4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1564 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1564}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0be54350dc8a9bbadfd8d785aa0cbaaf46a9e57a50071800e60bd8c51010e9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1568 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c5b532d8ce36966ebeb0323f479d0e52c366f153a187700f40f7a695046102"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1581 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4f3b91473ccbdb90b35f5f978e9f4d873f7c8552b5a268b622fdf1e7fc7843"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1588 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1588}}}],"partialFingerprints":{"codehealthFindingId/v1":"773208a71569e678d8783c50f90e04982a4af04e8534f7a96b627992b4f0efc9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1592 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1592}}}],"partialFingerprints":{"codehealthFindingId/v1":"4190da5c3efa10a3d2b78fc1ec4d43d71d5265a759d7d52d2f57d2906c0c9261"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1850 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"61265be7b37e437d3744374ab133495bec3171f0686bb999fe7f250f49918316"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1996 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96d2a5e71d234305b32173a5cc7d8878d107d469fef39816347063e28cb7801"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2029 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"917357e7974535742d0bc0062f819a427b6d3afc4d38a71a6f01ffc5c886863b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2087 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e39f3a5dd59a0a9acc37eed715326be2d84e0c032085f794c3b0df202c5a212"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2096 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":2096}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e94bdc16a215824c314f6b76a34b4da39123fb431a13628a97cd05dcb3ba48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2124 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":2124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fef6f72d4b530ba544019cf3161e9879f1131c05c43a901c389b939c91b39b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2162 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29e7ffe8b124b83883990bf5939cedfb9fdbee87af3c4746888fff4c353890c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2175 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":2175}}}],"partialFingerprints":{"codehealthFindingId/v1":"18527b01c9817f21e4a7d098d4cf17069a817a748f5d0065e3f14624db73491f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2384 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":2384}}}],"partialFingerprints":{"codehealthFindingId/v1":"703dd3ef87588816a3c938e63f3dd1e2714550ebd0d1d6772a1aec3f6225ff58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2479 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":2479}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2f4ba94d7386d693324f2e9ad5142fb3d5cb66adfcafe4413f27b7c1f61a01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 2859 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":2859}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d297aca3a2c5c2c21a29d1401f58b68dcca81727742b14094c12383e94f74c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2942 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":2942}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60a4ca83b78d4512b16a0adf0dfd42c82969f2e4af2184e55e1b1c4fe52e69f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3013 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3013}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af2792d65a1d358b717b1920ce3924a66df21f5e4d4d87816c517fa673fbcd9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3022 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3022}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afbf8bf04a58bb06804e55609eb6e91d61ead83610a4cad5a67eaa85c5ca0f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3029 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3029}}}],"partialFingerprints":{"codehealthFindingId/v1":"869af4d3af22058b2c7d8c1d4257d526c16391c447c217d3aaa94868c0e94a4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3052 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3052}}}],"partialFingerprints":{"codehealthFindingId/v1":"b704073e645c7876e3630c3666c2a958a015acc1c8dc675c3a65baf64ba4117e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3086 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3086}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5c36abed962205a5d3b2c3fdf84e867a61ea86386d4db83191092734fa6a9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3094 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3094}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9567767e3d51d068ffdb6924e2e2c8de5b6f08fe4a2f0ba0795a72fc57722c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3158 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3158}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e8cfdb66eb12b512e0c9ec7d0d3accbab7dafff297de6592e7d1b327556b2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3170 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3170}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9db17de7ef1abe9f35036ba6fbdb3b51db03fc0150b8aeb134ee6278779434"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3238 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9452878fe91a1ea8cf7571aec1cecd47ac1c5df16b8f43fb2fbbf6af4840d41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3255 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3255}}}],"partialFingerprints":{"codehealthFindingId/v1":"0569c47a7a859db5157a05966841a0c8df7b91a70ca355cec97d9945037f2bfe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3269 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3269}}}],"partialFingerprints":{"codehealthFindingId/v1":"828000325a0a00fe90e10c451445f7b1eff16356726025be3c9e27de067c3d2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3281 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9ed92747bdc17b8558b1c693a56e3fff1507f903bfeadb582023cacd0676b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3344 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3344}}}],"partialFingerprints":{"codehealthFindingId/v1":"de34a55397b0e61f5d7fd7e4ad91bf52e9a4fcad318a644e44eff663a9a98e4e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3377 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3377}}}],"partialFingerprints":{"codehealthFindingId/v1":"f182cba2c6b41ae327564b2fe4ab5949b5fa3cc1e58c783f8cd365c25510ce50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3379 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3379}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db2e77dbee209cfba1294a4e2ce084029986bf73379a66790eea4fc1985a8b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3390 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3390}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d40a9e902a43f609b6cd1a8b5c04846fad967137aaaf2282a1aafab53ed56d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3392 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b9fd70016a792db15fd937516b3950b801628d76c767f8105d31cfa9a8fa4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3403 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3403}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7b022f18bfda88b264341115efb7d53231ae5aed019139739d77e65963a4f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 3469 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3469}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a98670eb2b5616d19a5f867f9cb865b1521545a0216c2e31f2fa6327cad1f11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 3489 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3489}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea93223aedaabf55a9893d840327c9c83c8ec103a463826a236b4531b7a9ac7c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 3591 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/lib.rs"},"region":{"startLine":3591}}}],"partialFingerprints":{"codehealthFindingId/v1":"95460abb31f4cea22565e502ce061cf148029fb9a8bf5cb9817c9d7896822318"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 98 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/limiter.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"137139cd65d276694853245358d01072fb97b3aa6686c14df18d3b6f528bd917"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1416 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7ee6bde37149eeba2332faf7433f21721c5d663d03b42eb44220e0c8f2f634"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1517 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"640b1ebafa5df83d47f0db235230222fa0e3bff56c12b2d65f68df398226cc6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1755 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbee4237642c3345f7de38858ce497d39211234a8cb45179ed75ee3feedbfa12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1766 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"5946e1955249bb6d3f07525a7b62976f84056806da3f694ef5597db8d30a4a6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug!\u0060 at line 1779 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060debug!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1680da4b187343c5764e60dafb16ed6b70ca78544fb504a3fed7de7c0d6859a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 49 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/restart_on_config_change.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8bf7215bc8b85e9a4742babb6f92f5d7d26ddee875f316e9eec06553d612a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 401 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/rules.rs"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"0875a5e298b86c1d9da7a9cb45c9ceb4b8b30ca318ba90805a06c8b821e08c84"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 522 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"676fc93ed1d52f0a3175588377a5ec77d436deda8a022c121e4e6b31e51571e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 581 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"650cd794a4b5f422268f5b072692048cc1f662ebb5a1c2e445e9ef7a5596fc25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 635 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"1207c2275823f238ea02d19ec119834269bf7293b97c03f8c373ec4a1b214094"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 665 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24e5b7ab6e9bab199c10f2603d641a2f50225de42609d5f811182e79e493500"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 724 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"4863e47790d3609db967bd938a856024002242c40ae5a87a2d4c5cafb16c38a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 763 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bbba682e1ed225cef1997bc666995a0b1408bcd5da1323f7c335ddc54b68f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 777 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ec122b40a2395e4c12becf3510ab1e53753eedbe5cbf9a7ed151e1c6bf8b40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 887 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9dff34fb63e4c9b7f702f10c1483cfc30665f11d2071ecdb6ec462feba048ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1316 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1316}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66b9495ce6173c8e8513bf9c3a348a5b23118b2073b27b31e9ce9c92124d214"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1385 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"739c3fc3469f8cca15725ffe863681a5b703202f1dd93d89005370e8021ada4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 1441 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1441}}}],"partialFingerprints":{"codehealthFindingId/v1":"235509261c996ea780ea8326aed9302cc66ea508da747fb73eee2f2491e71fff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1448 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe41944e0e26c85418d81582e36bbbbbc1ec873c54e34026650ffea6225841b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1547 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fb76c25663c32bf92199d770c777e73ab8a063587b59d190722712a939f46e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1582 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb332e37f312c85eca20cfe6fa5205f8d06a6076e3043d09dc6aee31c5d0378"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1621 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1621}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca3936d315c1fa72ecfdcd944409d54bb1bb85ae657d26c9d10abbf5733d378"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 1655 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1655}}}],"partialFingerprints":{"codehealthFindingId/v1":"00520ad23a8b7b08e3f0dfb2860d67bfbd2e80262f8d0e6974bec7f40bd7a531"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1783 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a55646578366510eb63de6f5951bd5484f01f4cbddf6f0590302d44fab12865"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 1994 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9b575b65939a9f27ee85a443f3650c86fc395f3ba07f55b0b1fc8d5df10ed8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2034 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"4345868a79910f6a0946b39b5ea9cc3ab12ce918c93873d126df83d3263f0049"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 2083 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":2083}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ddde3198a373cc361ced6737694a5bf346b7fbcd638fc3e96d419b1fea27d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2131 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":2131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71b12f329205b4f0756cbf9133bc4fab424db3e6ea8c5060fa8a41d5ab26414"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2214 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"38069b1719279bbcd23fa955e151f86c761f78664eac89110b541990085106db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2364 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbac03929d46c0e02c1e054fb202cdcbb99461e1e8b90a31fa218d9a45bac36c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2603 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":2603}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d8fa56e40c549e7c79d0aefb54b63f9e26ad1eb1189ce9a1a8999b6a5420d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error!\u0060 at line 2754 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060error!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/service.rs"},"region":{"startLine":2754}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fdb3dba619130e95a1109d9af145570d435f6cf16636a0e31dfb2fea916d79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 306 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/sliding_window.rs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"90853443ea81e28e9e1c3100bd4e0422d6d38700993d290b7887b9985f6f2bf5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 315 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/sliding_window.rs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"478859a1653304e6cf89c9975ac01f10db05445773f7e0dfe6fed4c4e264d037"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 419 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/sliding_window.rs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5798288c10ca3f88e5928f6e22334c598986548daf94cce2ede5896cc4939612"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 447 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/sliding_window.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37599d3c0ce8fb11abc8356cc187d559d5b85f3a9ed8a063a0997171a7d9780"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 458 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/sliding_window.rs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a2b5a8b45ff0fad444ed2fff7b57eef91e4ffd2b82072583411a24f4e4aa95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 43 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/strato.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff487d62101dcd4761d98d438af382c140761a5431bda5d7925d6b2bb03e933"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info!\u0060 at line 197 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060info!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/strato.rs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd273a5d645542866708758034eefae001fcba5dc4a74156a04a4f5d738a28c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 207 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/strato.rs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f495543abffa497a2e6322cf67b166f854735ab277a0efee7ba2e8a4fcca35ce"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 547 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"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/models/fp8.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"03921949e3a44ab6d6bedadf2bcf68d0aff063e1ab79f67f9754c9a783256af8"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_coordinated_spam.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd378838712dfecfea7f24cde8aacb87c72d6893cd6bf8979fa65b5a58ed9da"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_multi_step_reply_spam.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2921f6deb4733aa5f47ed57c6e64fa4dd497c0b833ca0bf2335bfc54fe4500"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_reply_ranking.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"229df9d68dce2cff8a9eabf1a9692faf33c44c8c72eccf9a91382b9725021a73"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_reply_ranking.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"807d839b3c283be90d570a3a235d91ed7cb9576aafdd6adf83144b40c673c634"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_simple_reply_scorer.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6093f6faaaa3bacf70fdec5211adea8f0878d115bcdfcb775143341e0c6b15c4"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This Python code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/reply_spam/classifier_simple_reply_scorer.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"b176c49e221189502b43ff3dfad20a931af3096351e7ffd10922454e840b1fbd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_arrow_member_to_rows\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bdsm/runtime/sequence_cache.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3a2705d433836a210c554bf19455cc0c677205975c1dd2af931ccb5a14b495"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_parse_log_level\u0060 returns \u00600\u0060 when \u0060ValueError\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/cutedsl/ranker_fa4/fa_logging.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"382b9530888fac907a2c180a95996ddeda4aecc19666a17ae0dfd0e48769b323"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_local_device_count\u0060 swallows every exception into \u0060return 1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/data/recsys/history_id_lists.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65bed3013b11a8255cd39532bbb61e0ae58ef98b2bc73bc5aaf3e8f415e05d2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_read_version_file\u0060 returns \u00600\u0060 when \u0060(FileNotFoundError, ValueError, OSError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/launch_multi_inference.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2313064e6f12120632bead45a2fb458670e7a3916f545300a62bf1c696ef60"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_read_version_file\u0060 returns \u00600\u0060 when \u0060(FileNotFoundError, ValueError, OSError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/inference/model_runner.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38a75f52d9764f062f782ecdb8e53292b1b6f16a8852c450ce8777a762a356e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060read_experiment_git_commit_hash\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/xrex/utils/launch_env.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d2d1f41fbd1248559a1ead741b9940b636f4f6890c32930ce22b4156efefff"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_format_join_date\u0060 returns \u0060\u0027\u0027\u0060 when \u0060(OverflowError, OSError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v82.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c493bda7953da6f423b5e9e4b2599d07c165c8f418ecc12cdc464833975e4820"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_format_join_date\u0060 returns \u0060\u0027\u0027\u0060 when \u0060(OverflowError, OSError, ValueError)\u0060 is raised, with no log or raise \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grox/flows/mm_emb/renderer_v8_search.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d5eeddc01c949ca201036ee09ed7d92d7d4cc33b73f5f132599ad3d0c652ae"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060endpoint\u0060 turns every \u0060Err\u0060 into \u0060\u0022url=\u003Cbad URL\u003E\u0022.to_owned()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"abuse-enforcement-service/service-lib/src/overturn_hold.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc844275e855a3187728cba33f5958907ac518f2fd202ae9425bfa9fa5643c5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060get_quoted_video_durations\u0060 turns every \u0060Err\u0060 into \u0060HashMap::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/candidate_hydrators/quote_hydrator.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e707aadb93c9e53a918df49d2b1d131070b271007640b143fd8e640fb8cd46"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060fetch_chunk\u0060 turns every \u0060Err\u0060 into \u0060HashMap::new()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/hydrate/fav_counts.rs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b292bb4ddf53eaf8a48708836dfb73babaf1f0f3f56476338b07384e1dc3c02"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060app_env\u0060 turns every \u0060Err\u0060 into \u0060\u0022prod\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"home-mixer/clients/ad_index_client.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58396e4ba7f0a7f99527003797329e58bf11191f5ff5d0d5a5e4e05e66e4c61"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060json_i64\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix-rankall/src/hydrate/strato.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c962b4be4a914b874b732370dc96df5e43b80c21e67050dde86bda2af977e9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060parse_ipv4_to_u32\u0060 turns every \u0060Err\u0060 into \u00600\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/common/xai-recsys/src/util.rs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"afff79c74cc2dbad0b23e9c3124619898b001b821bda2924ea691c8101b8fe6d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on Err: \u0060sid_source_name\u0060 turns every \u0060Err\u0060 into \u0060\u0022SEED_SID_SOURCE_UNSPECIFIED\u0022.to_string()\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or propagate it with \u0060?\u0060. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the arm or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"phoenix/crates/serving/xai-recsys-sid-retrieval/src/http_api.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b79d41e52191c565189cd8a2e57e0198dd89eda4090a012e00b46f35894ca2"}}],"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-116","guid":"c0134ca8-adc7-6959-bd17-5253a265d101","name":"Improper Encoding or Escaping of Output","shortDescription":{"text":"Improper Encoding or Escaping of Output"},"helpUri":"https://cwe.mitre.org/data/definitions/116.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-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-939","guid":"12397742-f2c4-8254-8012-482c3356c551","name":"CWE-939","shortDescription":{"text":"CWE-939"},"helpUri":"https://cwe.mitre.org/data/definitions/939.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":56,"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."]}]}